NITHIN KRISHNAN
04/16/2023, 4:55 AMMitch Bailey
04/16/2023, 11:27 AMuser_proj_example
? If not, you probably want to share your rtl verilog.NITHIN KRISHNAN
04/16/2023, 11:50 AMMitch Bailey
04/16/2023, 3:36 PMverilog/rtl/user_proj_example.v
assign wbs_dat_o = rdata;
...
counter #(
.BITS(BITS)
) counter(
...
.rdata(rdata),
...
);
endmodule
module counter #(
parameter BITS = 32
)(
...
output [15:0] rdata,
output [15:0] count
);
reg ready;
reg [15:0] count;
reg [15:0] rdata;
always @(posedge clk) begin
if (reset) begin
count <= 0;
ready <= 0;
end else begin
...
if (valid && !ready) begin
...
rdata <= count;
...
end
end
end
wbs_dat_o
is assigned to rdata
which is assigned count
. Where do you see no driver?NITHIN KRISHNAN
04/16/2023, 4:06 PMMitch Bailey
04/16/2023, 4:11 PMMitch Bailey
04/16/2023, 4:13 PMcaravel_user_project
commit bc4ccfec4b35d19220740f143ff1798fdfa4f0eb
?NITHIN KRISHNAN
04/16/2023, 4:14 PMNITHIN KRISHNAN
04/16/2023, 4:17 PMMitch Bailey
04/16/2023, 4:40 PM$ cd $OPENLANE_ROOT
$ git log
commit a35b64aa200c91e9eb7dde56db787d6b4c0ea12a (grafted, HEAD, tag: 2023.02.23)
Do you use make user_proj_example
from the caravel_user_project
directory?NITHIN KRISHNAN
04/17/2023, 12:12 AMmake user_proj_example
from the caravel_user_project
directoryNITHIN KRISHNAN
04/17/2023, 12:31 AMMitch Bailey
04/17/2023, 1:36 AMMitch Bailey
04/17/2023, 1:37 AMwbs_dat_o
signals are driven.NITHIN KRISHNAN
04/17/2023, 1:47 AMNITHIN KRISHNAN
04/17/2023, 1:55 AM