Skip to content

Commit

Permalink
tt reset reg, comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sylefeb committed Sep 1, 2024
1 parent 161cf83 commit 5c065f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frameworks/boards/tinytapeout/tinytapeout.v
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ module tt_um_silice (

// https://tinytapeout.com/specs/pinouts/

// register reset
reg rst_n_q;
always @(posedge clk) begin
rst_n_q <= rst_n;
end

M_main main(

.in_ui(ui_in),
Expand All @@ -35,7 +41,7 @@ module tt_um_silice (
.inout_uio_oe(uio_oe),

.in_run(1'b1),
.reset(~rst_n),
.reset(~rst_n_q),
.clock(clk)
);

Expand Down
3 changes: 3 additions & 0 deletions src/Algorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4827,6 +4827,9 @@ void Algorithm::updateAndCheckDependencies(t_vio_dependencies& _depds, const t_v
msg += "Consider inserting a sequential split with '++:'\n\n";
}
msg += notes;
/// TODO, FIXME: this considers all accesses to an array as a single
/// vio, while accessing different entries (and even bits) should be
/// allowed
reportError(sloc,msg.c_str(), w.c_str());
}
// check if any one of the combinational outputs the var depends on, depends on this same var (cycle!)
Expand Down

0 comments on commit 5c065f2

Please sign in to comment.