Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
LuigiGiuffrida98 committed Dec 12, 2024
1 parent f05252f commit b839da8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
10 changes: 9 additions & 1 deletion core-v-mini-mcu.core
Original file line number Diff line number Diff line change
Expand Up @@ -370,15 +370,23 @@ targets:
- '--trace-fst'
- '--trace-structs'
- '--trace-params'
- '--pins-inout-enables'
- '--trace-max-array 1024'
- '--x-assign unique'
- '--x-initial unique'
- '--binary'
- '--build'
- '--build-jobs 4'
- '-j 4'
- '--exe tb_top.cpp'
- '-CFLAGS "-Wall -g -fpermissive"'
- '-LDFLAGS "-pthread -lutil -lelf"'
- "-Wall"
- '--threads 4'
- '--timing'
- '--timescale 1ns/1ps'
- '--timescale-override 1ns/1ps'
- '-O3'
- '--verilate-jobs 4'

sim_sc:
<<: *default_target
Expand Down
3 changes: 2 additions & 1 deletion hw/simulation/pad_cell_output.sv
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ module pad_cell_output #(
logic pad;

assign pad_out_o = 1'b0;
assign pad_io = pad;
// CAMBIATO QUESTO
assign pad_io = (pad_oe_i) ? pad : 1'bz;
assign pad = pad_in_i;

endmodule
1 change: 1 addition & 0 deletions hw/vendor/waiver/lint/picorv32.vlt
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ lint_off -rule WIDTHTRUNC -file "*picosoc/*.v" -match "*"
lint_off -rule UNUSEDSIGNAL -file "*picosoc/*.v" -match "*"
lint_off -rule CASEINCOMPLETE -file "*picosoc/*.v" -match "*"
lint_off -rule BLKSEQ -file "*picosoc/*.v" -match "*"
lint_off -rule SYNCASYNCNET -file "*picosoc/*.v" -match "*"
1 change: 0 additions & 1 deletion tb/tb_top.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ int main (int argc, char * argv[])
dut->rst_ni = 0;
runCycles(50, dut, m_trace);


dut->rst_ni = 1;
runCycles(20, dut, m_trace);
std::cout<<"Reset Released"<< std::endl;
Expand Down

0 comments on commit b839da8

Please sign in to comment.