Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me correct code for modular division

Status
Not open for further replies.

simu

Junior Member level 3
Joined
Aug 27, 2007
Messages
25
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,469
hi

i have written a coding for modular division.. and while compiling i didn't get any error. but while simulating using modelsim the i/o lines donot occur in the screen. also the run command is not active...so even if i enter the input values i couldn't run.. can u please help me correcting it....
 

code correction

u check with ur clock input . I also faced the same problem once.
 

    simu

    Points: 2
    Helpful Answer Positive Rating
Re: code correction

still facing problem... the i/o lines not found and the run cmd is not active...
 

Re: code correction

did you add the input and output and signals to the wave window....
 

    simu

    Points: 2
    Helpful Answer Positive Rating
Re: code correction

yes.... i have added... the i/o is mentioned in the o/p window... but the lines are not found(blue and red lines in modelsim) and also the run cmd is not active...
 

Re: code correction

never use "assign" statement in the initial or always block..
correct code is attached here...
 

    simu

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top