ieee754fpu.git
5 years agofound 64-bit MUL bug too
Luke Kenneth Casson Leighton [Mon, 1 Jul 2019 14:54:51 +0000 (15:54 +0100)]
found 64-bit MUL bug too

5 years agoimplement fixed_rsqrt
Jacob Lifshay [Mon, 1 Jul 2019 11:01:45 +0000 (04:01 -0700)]
implement fixed_rsqrt

5 years agoimplement fixed_sqrt
Jacob Lifshay [Mon, 1 Jul 2019 10:21:45 +0000 (03:21 -0700)]
implement fixed_sqrt

5 years agoadded tests for rest of Fixed
Jacob Lifshay [Mon, 1 Jul 2019 07:01:32 +0000 (00:01 -0700)]
added tests for rest of Fixed

5 years agoadd more tests
Jacob Lifshay [Sun, 30 Jun 2019 05:33:04 +0000 (22:33 -0700)]
add more tests

5 years agoupdate comment
Luke Kenneth Casson Leighton [Sat, 29 Jun 2019 21:08:24 +0000 (22:08 +0100)]
update comment

5 years agoadd comments
Luke Kenneth Casson Leighton [Sat, 29 Jun 2019 09:35:49 +0000 (10:35 +0100)]
add comments

5 years agocomments
Luke Kenneth Casson Leighton [Sat, 29 Jun 2019 09:33:28 +0000 (10:33 +0100)]
comments

5 years agoadd diagram explaining chain / pipe relationships
Luke Kenneth Casson Leighton [Sat, 29 Jun 2019 09:27:50 +0000 (10:27 +0100)]
add diagram explaining chain / pipe relationships

5 years agoupdate comments
Luke Kenneth Casson Leighton [Sat, 29 Jun 2019 09:10:09 +0000 (10:10 +0100)]
update comments

5 years agonon-begin, non-end mode involves FPDivStage0Data
Luke Kenneth Casson Leighton [Sat, 29 Jun 2019 09:07:56 +0000 (10:07 +0100)]
non-begin, non-end mode involves FPDivStage0Data

5 years agoput in place infrastructure for dropping in INT div unit
Luke Kenneth Casson Leighton [Sat, 29 Jun 2019 08:47:38 +0000 (09:47 +0100)]
put in place infrastructure for dropping in INT div unit

number of combinatorial stages specified as an argument to FPDivStages
start mode does initial conversion from pre-normalised format
not-start and not-end mode inputs Q/Rem data and outputs Q/Rem data
end mode converts Q/Rem data to format needed for post-normalisation

5 years agofix names
Jacob Lifshay [Sat, 29 Jun 2019 03:26:27 +0000 (20:26 -0700)]
fix names

5 years agoadd Fract class
Jacob Lifshay [Sat, 29 Jun 2019 03:22:10 +0000 (20:22 -0700)]
add Fract class

5 years agointeger division algorithm works
Jacob Lifshay [Sat, 29 Jun 2019 01:31:26 +0000 (18:31 -0700)]
integer division algorithm works

5 years agoadd comments
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 15:54:34 +0000 (16:54 +0100)]
add comments

5 years agoadd comments on parameters
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 07:51:20 +0000 (08:51 +0100)]
add comments on parameters

5 years agoadd comments on parameters
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 07:46:31 +0000 (08:46 +0100)]
add comments on parameters

5 years agoadd comments on parameters
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 07:43:21 +0000 (08:43 +0100)]
add comments on parameters

5 years agoquick debug session on FP div stub pipeline
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 06:10:56 +0000 (07:10 +0100)]
quick debug session on FP div stub pipeline

5 years agoput in TODO divstages list
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 06:03:00 +0000 (07:03 +0100)]
put in TODO divstages list

5 years agowhoops missed a cookie-cut rename
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 05:59:21 +0000 (06:59 +0100)]
whoops missed a cookie-cut rename

5 years agoadd div1 and div2 cookie-cut with TODO messages
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 05:57:55 +0000 (06:57 +0100)]
add div1 and div2 cookie-cut with TODO messages

5 years agoadd cookie-cut div0.py pipeline stage class
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 05:47:47 +0000 (06:47 +0100)]
add cookie-cut div0.py pipeline stage class

5 years agoadd comment, link to bugreport
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 05:35:22 +0000 (06:35 +0100)]
add comment, link to bugreport

5 years agoadd cookie-cut FPDIV
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 05:32:11 +0000 (06:32 +0100)]
add cookie-cut FPDIV

5 years agoadd cookie-cut test_fpdiv_pipe.py
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 05:29:33 +0000 (06:29 +0100)]
add cookie-cut test_fpdiv_pipe.py

5 years agoadd cookie-cut fpdiv pipeline.py
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 05:28:33 +0000 (06:28 +0100)]
add cookie-cut fpdiv pipeline.py

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 05:24:33 +0000 (06:24 +0100)]
remove unneeded imports

5 years agoadd fpdiv specialcases
Luke Kenneth Casson Leighton [Fri, 28 Jun 2019 05:17:07 +0000 (06:17 +0100)]
add fpdiv specialcases

5 years agomove comment
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 13:41:00 +0000 (14:41 +0100)]
move comment

5 years agogot fpdiv FSM operational
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 12:52:05 +0000 (13:52 +0100)]
got fpdiv FSM operational

5 years agobug, 0xe225 0x8181 0x249f returns 0x249e
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 12:41:43 +0000 (13:41 +0100)]
bug, 0xe225 0x8181 0x249f returns 0x249e

5 years agofpmul specialcase, nan x nan returns 0 nan
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 12:18:28 +0000 (13:18 +0100)]
fpmul specialcase, nan x nan returns 0 nan

5 years agoget fp mul pipe working using new FPNumBaseRecord
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 12:01:24 +0000 (13:01 +0100)]
get fp mul pipe working using new FPNumBaseRecord

5 years agomake overflow roundz a property (Overflow no longer a module)
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 11:51:48 +0000 (12:51 +0100)]
make overflow roundz a property (Overflow no longer a module)

5 years agofix up FPNumBase by creating a Record class (not derived from Elaboratable)
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 11:46:58 +0000 (12:46 +0100)]
fix up FPNumBase by creating a Record class (not derived from Elaboratable)
that is passed in where it is needed

5 years agoreduce max count from 1000 to 10
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 07:27:26 +0000 (08:27 +0100)]
reduce max count from 1000 to 10

5 years agoadd in missing modules
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 06:43:04 +0000 (07:43 +0100)]
add in missing modules

5 years agoswitch off specallocate in fpadd statemachine
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 06:34:52 +0000 (07:34 +0100)]
switch off specallocate in fpadd statemachine

5 years agoadd elaboratables
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 06:10:31 +0000 (07:10 +0100)]
add elaboratables

5 years agocreate FPNumBaseRecord
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 06:07:32 +0000 (07:07 +0100)]
create FPNumBaseRecord

5 years agowhitespace
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 05:55:03 +0000 (06:55 +0100)]
whitespace

5 years agoelaboratable cases
Luke Kenneth Casson Leighton [Sun, 16 Jun 2019 05:53:03 +0000 (06:53 +0100)]
elaboratable cases

5 years agotemporarily disabled sfpy dependency for now
Luke Kenneth Casson Leighton [Sat, 8 Jun 2019 05:53:24 +0000 (06:53 +0100)]
temporarily disabled sfpy dependency for now

5 years agouse PYTHON3 ?= "python3" instead of hard-coded python3 cmd
Luke Kenneth Casson Leighton [Sat, 8 Jun 2019 05:52:29 +0000 (06:52 +0100)]
use PYTHON3 ?= "python3" instead of hard-coded python3 cmd

5 years agoallow SRLatch to be multibit
Luke Kenneth Casson Leighton [Wed, 29 May 2019 20:35:37 +0000 (21:35 +0100)]
allow SRLatch to be multibit

5 years agouse boolean version of SRLatch, suitable for multi-bit now
Luke Kenneth Casson Leighton [Wed, 29 May 2019 20:33:17 +0000 (21:33 +0100)]
use boolean version of SRLatch, suitable for multi-bit now

5 years agomake qlq output q | q_int
Luke Kenneth Casson Leighton [Fri, 24 May 2019 16:51:26 +0000 (17:51 +0100)]
make qlq output q | q_int

5 years agoput internal state out as part of latch api
Luke Kenneth Casson Leighton [Fri, 24 May 2019 16:50:18 +0000 (17:50 +0100)]
put internal state out as part of latch api

5 years agoadd comments on convenience names
Luke Kenneth Casson Leighton [Sun, 12 May 2019 04:29:40 +0000 (05:29 +0100)]
add comments on convenience names

5 years agoadd helper routine for creating latched registers
Luke Kenneth Casson Leighton [Sat, 11 May 2019 04:16:06 +0000 (05:16 +0100)]
add helper routine for creating latched registers

5 years agoadd a jk latch (as a comment), TODO
Luke Kenneth Casson Leighton [Sat, 11 May 2019 04:12:38 +0000 (05:12 +0100)]
add a jk latch (as a comment), TODO

5 years agoFix exponent offsets
Aleksandar Kostovic [Wed, 8 May 2019 15:11:48 +0000 (17:11 +0200)]
Fix exponent offsets

5 years agoRemoved the errors made in previous commit
Aleksandar Kostovic [Wed, 8 May 2019 14:38:32 +0000 (16:38 +0200)]
Removed the errors made in previous commit

5 years agocorrect name on RecordObject
Luke Kenneth Casson Leighton [Wed, 8 May 2019 01:13:50 +0000 (02:13 +0100)]
correct name on RecordObject

5 years agoUpdated Inf and NaN parts of normalise function
Aleksandar Kostovic [Tue, 7 May 2019 13:15:03 +0000 (15:15 +0200)]
Updated Inf and NaN parts  of normalise function

5 years agomoving scoreboard code to soc repo
Luke Kenneth Casson Leighton [Tue, 7 May 2019 04:44:16 +0000 (05:44 +0100)]
moving scoreboard code to soc repo

5 years agoadd combined int/fp issue unit
Luke Kenneth Casson Leighton [Tue, 7 May 2019 02:53:47 +0000 (03:53 +0100)]
add combined int/fp issue unit

5 years agocorrections to ld-st cell and sparse-matrix
Luke Kenneth Casson Leighton [Tue, 7 May 2019 02:42:24 +0000 (03:42 +0100)]
corrections to ld-st cell and sparse-matrix

5 years agoadd some comments to fsqrt
Luke Kenneth Casson Leighton [Tue, 7 May 2019 00:24:45 +0000 (01:24 +0100)]
add some comments to fsqrt

5 years agoadd issue unit
Luke Kenneth Casson Leighton [Mon, 6 May 2019 14:06:39 +0000 (15:06 +0100)]
add issue unit

5 years agoAdded secial cases for normalization function
Aleksandar Kostovic [Mon, 6 May 2019 13:47:01 +0000 (15:47 +0200)]
Added secial cases for normalization function

5 years agogeneralise the function unit module, create some derivative classes
Luke Kenneth Casson Leighton [Mon, 6 May 2019 12:44:46 +0000 (13:44 +0100)]
generalise the function unit module, create some derivative classes
* IntFnUnit
* FPFnUnit
* LDFnUnit
* STFnUnit

5 years agoprovide array-selector on inputs
Luke Kenneth Casson Leighton [Mon, 6 May 2019 10:02:21 +0000 (11:02 +0100)]
provide array-selector on inputs

5 years agoupdate notes, dest/src1/src2 are BINARY encoded
Luke Kenneth Casson Leighton [Mon, 6 May 2019 08:14:21 +0000 (09:14 +0100)]
update notes, dest/src1/src2 are BINARY encoded

5 years agoadd global pending collator
Luke Kenneth Casson Leighton [Mon, 6 May 2019 07:52:01 +0000 (08:52 +0100)]
add global pending collator

5 years agouse shadow submodule instead of in fn unit
Luke Kenneth Casson Leighton [Mon, 6 May 2019 06:38:11 +0000 (07:38 +0100)]
use shadow submodule instead of in fn unit

5 years agowhoops duplicate signal
Luke Kenneth Casson Leighton [Mon, 6 May 2019 06:26:53 +0000 (07:26 +0100)]
whoops duplicate signal

5 years agoadd shadow_fn.py, split out from function unit
Luke Kenneth Casson Leighton [Mon, 6 May 2019 06:23:32 +0000 (07:23 +0100)]
add shadow_fn.py, split out from function unit

5 years agoadd comments
Luke Kenneth Casson Leighton [Mon, 6 May 2019 06:23:18 +0000 (07:23 +0100)]
add comments

5 years agoLD/ST latches are async (clockless)
Luke Kenneth Casson Leighton [Mon, 6 May 2019 04:12:09 +0000 (05:12 +0100)]
LD/ST latches are async (clockless)

5 years agoupdate docstrings
Luke Kenneth Casson Leighton [Mon, 6 May 2019 04:10:18 +0000 (05:10 +0100)]
update docstrings

5 years agoput OR-accumulator in LD/ST dep cell for ld-hold-st/st-hold-load
Luke Kenneth Casson Leighton [Mon, 6 May 2019 04:08:12 +0000 (05:08 +0100)]
put OR-accumulator in LD/ST dep cell for ld-hold-st/st-hold-load

5 years agoadd LD/ST Matrix (actually sparse matrix, aka straight 1D array)
Luke Kenneth Casson Leighton [Mon, 6 May 2019 03:49:53 +0000 (04:49 +0100)]
add LD/ST Matrix (actually sparse matrix, aka straight 1D array)

5 years agoadd LD/ST dependency cell
Luke Kenneth Casson Leighton [Mon, 6 May 2019 03:13:06 +0000 (04:13 +0100)]
add LD/ST dependency cell

5 years agoadd comment back in about load/store shadow-hold
Luke Kenneth Casson Leighton [Mon, 6 May 2019 02:42:16 +0000 (03:42 +0100)]
add comment back in about load/store shadow-hold

5 years agoslightly simplify SRlatch
Luke Kenneth Casson Leighton [Sun, 5 May 2019 20:14:26 +0000 (21:14 +0100)]
slightly simplify SRlatch

5 years agoadd shadow capability to function unit
Luke Kenneth Casson Leighton [Sun, 5 May 2019 14:43:03 +0000 (15:43 +0100)]
add shadow capability to function unit

5 years agoadd SRlatch async mode
Luke Kenneth Casson Leighton [Sun, 5 May 2019 13:40:47 +0000 (14:40 +0100)]
add SRlatch async mode

5 years agoadd group picker
Luke Kenneth Casson Leighton [Sun, 5 May 2019 04:35:49 +0000 (05:35 +0100)]
add group picker

5 years agoadd notes
Luke Kenneth Casson Leighton [Sun, 5 May 2019 04:14:20 +0000 (05:14 +0100)]
add notes

5 years agocorrect page num and section num
Luke Kenneth Casson Leighton [Sun, 5 May 2019 03:09:03 +0000 (04:09 +0100)]
correct page num and section num

5 years agoadd integer function unit
Luke Kenneth Casson Leighton [Sun, 5 May 2019 02:28:20 +0000 (03:28 +0100)]
add integer function unit

5 years agominor reorg of latch
Luke Kenneth Casson Leighton [Sat, 4 May 2019 16:48:07 +0000 (17:48 +0100)]
minor reorg of latch

5 years agoadd FU-FU Dependency Matrix
Luke Kenneth Casson Leighton [Sat, 4 May 2019 07:28:58 +0000 (08:28 +0100)]
add FU-FU Dependency Matrix

5 years agoadd function unit dependency cell
Luke Kenneth Casson Leighton [Sat, 4 May 2019 06:35:15 +0000 (07:35 +0100)]
add function unit dependency cell

5 years agoadd function unit picker vector
Luke Kenneth Casson Leighton [Sat, 4 May 2019 06:28:29 +0000 (07:28 +0100)]
add function unit picker vector

5 years agodependency matrix (Reg to FU)
Luke Kenneth Casson Leighton [Sat, 4 May 2019 04:43:20 +0000 (05:43 +0100)]
dependency matrix (Reg to FU)

5 years agoadd function unit read/write pending
Luke Kenneth Casson Leighton [Sat, 4 May 2019 01:18:11 +0000 (02:18 +0100)]
add function unit read/write pending

5 years agoadd regfile selection
Luke Kenneth Casson Leighton [Sat, 4 May 2019 00:28:29 +0000 (01:28 +0100)]
add regfile selection

5 years agoadd dependence cell scoreboard from 11.4.7
Luke Kenneth Casson Leighton [Fri, 3 May 2019 23:34:35 +0000 (00:34 +0100)]
add dependence cell scoreboard from 11.4.7

5 years agoadd (synchronous) latch
Luke Kenneth Casson Leighton [Fri, 3 May 2019 22:57:08 +0000 (23:57 +0100)]
add (synchronous) latch

5 years agofix up fadd state machine
Luke Kenneth Casson Leighton [Fri, 3 May 2019 14:07:13 +0000 (15:07 +0100)]
fix up fadd state machine

5 years agoadd test on fp16/32/64 for mul and div
Luke Kenneth Casson Leighton [Fri, 3 May 2019 06:41:37 +0000 (07:41 +0100)]
add test on fp16/32/64 for mul and div

5 years agosplit out InputTest code into separate fpmux.py
Luke Kenneth Casson Leighton [Fri, 3 May 2019 06:36:28 +0000 (07:36 +0100)]
split out InputTest code into separate fpmux.py

5 years agogot fpmul working (potential bug in softfloat NaN handling)
Luke Kenneth Casson Leighton [Fri, 3 May 2019 05:02:39 +0000 (06:02 +0100)]
got fpmul working (potential bug in softfloat NaN handling)

5 years agofix multiply bit-width
Luke Kenneth Casson Leighton [Fri, 3 May 2019 03:47:45 +0000 (04:47 +0100)]
fix multiply bit-width

5 years agodebug fpmul pipeline
Luke Kenneth Casson Leighton [Fri, 3 May 2019 02:31:06 +0000 (03:31 +0100)]
debug fpmul pipeline

5 years agoadd mul pipeline based on add
Luke Kenneth Casson Leighton [Fri, 3 May 2019 02:26:58 +0000 (03:26 +0100)]
add mul pipeline based on add