Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 584 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 584 Bytes

fpcvt (CS 152A) build status

Two's complement to floating point conversion

waveform

Simulation

$ cd src/
$ iverilog main_tb.v -o main.vvp
$ vvp main.vvp
VCD info: dumpfile main_tb.vcd opened for output.
in  = 000000101100 (44)
out =     00101011 (44)
s,e,v
0,2,11

...

in  = 000000101111 (47)
out =     00101100 (48)
s,e,v
0,2,12

Viewing the waveform

$ gtkwave main_tb.vcd

Copyright © 2018 Ryan Jacobs, Kevin Yi