Skip to content

Commit

Permalink
Fix la_test2 gl sim
Browse files Browse the repository at this point in the history
  • Loading branch information
Manarabdelaty committed Sep 19, 2021
1 parent 6e8caf1 commit 2d40ac0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion verilog/dv/la_test2/la_test2.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,16 @@ void main()
// Set clk & reset to one
reg_la2_data = 0x00000003;

// DELAY
for (i=0; i<5; i=i+1) {}

// Toggle clk & de-assert reset
for (i=0; i<11; i=i+1) {
clk = !clk;
reg_la2_data = 0x00000000 | clk;
}

if (reg_la0_data == 0x05) {
if (reg_la0_data >= 0x05) {
reg_mprj_datal = 0xAB610000;
}

Expand Down

0 comments on commit 2d40ac0

Please sign in to comment.