BartlebyScrivener
Member level 5
- Joined
- Feb 8, 2012
- Messages
- 90
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 2,081
I am trying to test an on-chip interconnection network I have designed, without the network actually connecting to anything other than itself.
I created a module to instantiate the network.
The network code works in simulation, but when I synthesize in Quartus, I get a warning that no clocks are defined. I am guessing it literally cancels out all my code because without input and output nodes, it does nothing.
How could I get round this? i.e is it possible to tell Quartus to treat the values of i_data, i_data_val and i_en as if they might change, and o_data, o_data_val, and o_en as if they were connected to something?
I created a module to instantiate the network.
Code:
`include "ENoC_Config.sv"
module synthesis_wrap
(input logic clk, reset_n);
packet_t [0:(`X_NODES*`Y_NODES)-1] i_data;
logic [0:(`X_NODES*`Y_NODES)-1] i_data_val;
logic [0:(`X_NODES*`Y_NODES)-1] o_en;
packet_t [0:(`X_NODES*`Y_NODES)-1] o_data;
logic [0:(`X_NODES*`Y_NODES)-1] o_data_val;
logic [0:(`X_NODES*`Y_NODES)-1] i_en;
ENoC_Network
inst_ENoC_Network (.clk(clk),
.reset_n(reset_n),
.i_data(i_data),
.i_data_val(i_data_val),
.o_en(o_en),
.o_data(o_data),
.o_data_val(o_data_val),
.i_en(i_en));
endmodule
The network code works in simulation, but when I synthesize in Quartus, I get a warning that no clocks are defined. I am guessing it literally cancels out all my code because without input and output nodes, it does nothing.
How could I get round this? i.e is it possible to tell Quartus to treat the values of i_data, i_data_val and i_en as if they might change, and o_data, o_data_val, and o_en as if they were connected to something?