Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI am stuck
I tried to implement the following code, copied from Page 37 of the ALTERA Verilog manual: module compinst (data,clock,clearn,presetn,a,b,c,gn,d,q_out,y,wn); input data,clock,clearn,presetn...
Altera_Forum
Honored Contributor
12 years agoYou have two 'entities' instantiated in the code for your 'compinst' module. They are modules called 'dff' and 'a_74151b'.
Quartus can find the code that describes how 'dff' works but doesn't know where to find the code for 'a_74151b'. You need to add a path to the project telling Quartus where to find that code. With your project open, goto: 'Project' -> 'Add/Remove Files in Project...'. Locate the module via the browser button and add it to the project. If you're still having problems perhaps you can identify which 'ALTERA Verilog manual' you're looking at. Regards, Alex