Hey! So I've designed my verilog module and ran it...
# ieee-sscs-dc-21q3
o
Hey! So I've designed my verilog module and ran it through OpenLane just to see if it works successfully without any fatal errors. However, I'm a bit lost on how to harden my whole module in user_project_wrapper.v even after going through multiple project examples. I've tried hardening it in the wrapper but it shows some errors. If someone can look into it located in https://github.com/omiya2106/DeepSAC/blob/main/Caravel%20Hardening/user_project_wrapper.v I'm doing this for the first time so let me know if my github documentation is proper/correct. My project's verilog code is given in the "Hardware Model" folder is someone wants to look into my module as well. github: https://github.com/omiya2106/DeepSAC thanks in advance
k
Hi, how are You. Seems that You have some errors in Your structural modelling
Copy code
DeepSAC_sleep DS(
// my defined i/os
.class_o(class),
.clk(wb_clk_i),
.x1(io_in[15:0]),
.x2(io_in[31:16]),

//wishbone slave ports
.wbs_stb_i(wbs_stb_i),
.wbs_cyc_i(wbs_cyc_i),
.wbs_we_i(wbs_we_i),
.wbs_sel_i(wbs_sel_i),
.wbs_dat_i(wbs_dat_i),
.wbs_adr_i(wbs_adr_i),
.wbs_ack_o(wbs_ack_o),
.wbs_dat_o(wbs_dat_o),
 
// logic analyzer signals
 .la_data_in_i(la_data_in),
 .la_data_out_o(la_data_out),
 .la_oenb_i(la_oenb),
);
endmodule

module DeepSAC_sleep #(
parameter BITS = 16)
(
output class,
input clk,
input [15:0] x1,
input [15:0] x2
);
Your module has 1 output and three inputs but You try to connect much more signals to it
Copy code
You should also wire the class signal to something in order to observe its value, could be GPIO, however You should enable it as output
o
@User thanks! I'll look into it further and get you updated
k
go ahead! good luck
o
Hey @User so I have tried wiring the I/O ports with my deepsac module but it seems to have this error "*Port connections cannot be mixed ordered and named*". I am currently running it on xilinx platform for double verification. Here's my github link https://github.com/omiya2106/DeepSAC/blob/main/Caravel%20Hardening/user_project_wrapper.v