ryanmjacobs / fpcvt

UCLA, CS 152A

Repository from Github https://github.comryanmjacobs/fpcvtRepository from Github https://github.comryanmjacobs/fpcvt

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

About

UCLA, CS 152A


Languages

Language:Verilog 91.8%Language:Shell 8.2%