Constructing Floating Point Unit with Chisel?

790 views
Skip to first unread message

Shang Li

unread,
Jul 20, 2015, 12:22:27 PM7/20/15
to chisel...@googlegroups.com
Hi,

I just started using chisel, it seems to be way more powerful than writing bare-metal verilog.

I wanted to use chisel to build a hardware floating point unit supporting IEEE754 standard (i.e. generate verilog code to construct FPU). However, I've read through your documentations on https://chisel.eecs.berkeley.edu/documentation.html but didn't find anything mentioned floating point. But I found the Flo.scala and FP.scala source files in your github repo. Also it says "Sizeable standard library including floating-point units" on your homepage. So I'm wondering is floating point actually support? If so any pointers where I should go?

Thanks in advance,
Shang

Andrea Peruffo

unread,
Aug 20, 2015, 11:14:22 AM8/20/15
to chisel-users
+1

A lot interested in the status of Floating point numbers.

Thanks

Andrea

Stephen Tridgell

unread,
Aug 20, 2015, 7:03:20 PM8/20/15
to chisel-users
I think you are looking for this: https://github.com/ucb-bar/berkeley-hardfloat

Ganesh Venkatesh

unread,
Apr 18, 2016, 8:28:32 PM4/18/16
to chisel-users
This implementation performs FP as single-cycle operation. Is there an easy way to pipeline a unit in chisel for higher frequency. I see couple of publications on this but I don't see any examples of how it is done in practice.

Thanks
Ganesh

Donggyu Kim

unread,
Apr 19, 2016, 8:18:02 PM4/19/16
to chisel-users
CAD tools automatically retime it if you added shift registers for them.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages