L
Luiz Gustavo
Guest
Hi,
How can I link to modules?
__________ __________
| | --------> mosi | |
--->lm | master | --------> sck | slave |
-->clock| | --------> ss | |
|_________| <------- miso |_________|
I try to do something like this:
module master (clock, lm, ss, sck, mosi, miso);
input wire miso;
input wire load_memory;
input wire clock;
output wire mosi;
output wire ss;
output wire sck;
/ ......
........\
endmodule
module slave(ss, sck, mosi, miso);
input wire ss;
input wire sck;
input wire mosi;
output wire miso;
/..................
..................\
endmodule
The input of master is output of slave, and vice versa.
The Quartus give me a error: "Ignored module slave at master.v,
becouse previous errors."
Thanks,
Gustavo
How can I link to modules?
__________ __________
| | --------> mosi | |
--->lm | master | --------> sck | slave |
-->clock| | --------> ss | |
|_________| <------- miso |_________|
I try to do something like this:
module master (clock, lm, ss, sck, mosi, miso);
input wire miso;
input wire load_memory;
input wire clock;
output wire mosi;
output wire ss;
output wire sck;
/ ......
........\
endmodule
module slave(ss, sck, mosi, miso);
input wire ss;
input wire sck;
input wire mosi;
output wire miso;
/..................
..................\
endmodule
The input of master is output of slave, and vice versa.
The Quartus give me a error: "Ignored module slave at master.v,
becouse previous errors."
Thanks,
Gustavo