diff options
author | Nathan Ringo <nathan@remexre.com> | 2024-10-24 20:49:42 -0500 |
---|---|---|
committer | Nathan Ringo <nathan@remexre.com> | 2024-10-24 20:49:42 -0500 |
commit | 7d5d900b63103469e9592e365031a979a24c95f6 (patch) | |
tree | a591f64d6871b09daedd2511ffd78095c5a70b39 /fpga/src | |
parent | 97723bb6471ce74a8e69e79fda4410b0c53329a2 (diff) |
...
Diffstat (limited to 'fpga/src')
-rw-r--r-- | fpga/src/TopSim.bs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga/src/TopSim.bs b/fpga/src/TopSim.bs index 4721a42..c512edc 100644 --- a/fpga/src/TopSim.bs +++ b/fpga/src/TopSim.bs @@ -35,7 +35,7 @@ mkTopSim = module i2c.addrReg := 0x20 ++ (1 :: Bit 1) i2c.dataReg := 0x00 "t0001": when (timer == 0x0001) ==> do - i2c.statusReg := i2c.statusReg { ready = False; dataAckBit = False } + i2c.statusReg := i2c.statusReg { ready = False; dataAckBit = True } "t0022": when (timer == 0x0023) ==> rxSDA := 0 "t0025": when (timer == 0x0027) ==> rxSDA := 1 "t0049": when (timer == 0x0049) ==> do |