Skip to content
/ ooktrx Public

Chisel things for on-off-keying transceiver carrier recovery

License

Notifications You must be signed in to change notification settings

sijundu/ooktrx

Repository files navigation

ooktrx

The file OOKTRx_slides.pptx is the slides of the design

Test

To run the tester:

sbt 'testOnly ooktrx.{testblock}Spec'

Top-level simulation:

The top level design block is TopControl.scala, which contains a RX control and a TX control.

The top level simulator is TopSimulator.scala, which employs two TopControl.scala. One is used for TX and the other one is for RX.

The top tester is TopSimulatorSpec.scala. Run the following to send a sequence of random frames. The frames will be encoded with CRC, added with frame bits and index and transformed to 1-bit signal. The data is then transmitted in air with a delay of 1 clock cycle. The transmitted data is added with 2% error (configurable) and received by another TRX block. The received 1-bit data is reassembled, applied with CRC check. If the CRC fails, the RX sends back a signal to the TX to request a resend until the correct data is tramitted. The correct data is stored in RX memory.

sbt 'testOnly ooktrx.TopSimulatorSpec'

Generate a Top-level verilog code for synthesis

sbt 'testOnly ooktrx.TopControlSpec'

About

Chisel things for on-off-keying transceiver carrier recovery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages