ieee754fpu.git
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

5 years agoadd mul1 stage based on add1
Luke Kenneth Casson Leighton [Fri, 3 May 2019 02:19:53 +0000 (03:19 +0100)]
add mul1 stage based on add1

5 years agoadd mul0 based on add0
Luke Kenneth Casson Leighton [Fri, 3 May 2019 02:13:33 +0000 (03:13 +0100)]
add mul0 based on add0

5 years agoadd mul pipeline version of specialcases
Luke Kenneth Casson Leighton [Fri, 3 May 2019 02:06:01 +0000 (03:06 +0100)]
add mul pipeline version of specialcases

5 years agoget test_fpadd_pipe.py working
Luke Kenneth Casson Leighton [Thu, 2 May 2019 23:43:30 +0000 (00:43 +0100)]
get test_fpadd_pipe.py working

5 years agodocument concurrentunit
Luke Kenneth Casson Leighton [Thu, 2 May 2019 23:35:17 +0000 (00:35 +0100)]
document concurrentunit

5 years agoget outmux test working with nose3
Luke Kenneth Casson Leighton [Thu, 2 May 2019 23:29:21 +0000 (00:29 +0100)]
get outmux test working with nose3

5 years agoget prioritymux test working with nose3
Luke Kenneth Casson Leighton [Thu, 2 May 2019 23:28:23 +0000 (00:28 +0100)]
get prioritymux test working with nose3

5 years agoget inout mux test running on nose3
Luke Kenneth Casson Leighton [Thu, 2 May 2019 23:26:31 +0000 (00:26 +0100)]
get inout mux test running on nose3

5 years agoadd missing submodules
Luke Kenneth Casson Leighton [Thu, 2 May 2019 22:44:19 +0000 (23:44 +0100)]
add missing submodules

5 years agoreduce number of loops in nosetest for test_add
Luke Kenneth Casson Leighton [Thu, 2 May 2019 22:37:59 +0000 (23:37 +0100)]
reduce number of loops in nosetest for test_add

5 years agowhitespace
Luke Kenneth Casson Leighton [Thu, 2 May 2019 22:35:24 +0000 (23:35 +0100)]
whitespace

5 years agoreplace run_test with run_fpunit to avoid nosetest auto-name-detect
Luke Kenneth Casson Leighton [Thu, 2 May 2019 22:32:46 +0000 (23:32 +0100)]
replace run_test with run_fpunit to avoid nosetest auto-name-detect

5 years agopass in count and num loops to unit test to make it shorter
Luke Kenneth Casson Leighton [Thu, 2 May 2019 22:31:32 +0000 (23:31 +0100)]
pass in count and num loops to unit test to make it shorter

5 years agofix imports in fpdiv
Luke Kenneth Casson Leighton [Thu, 2 May 2019 17:44:01 +0000 (18:44 +0100)]
fix imports in fpdiv

5 years agoget test_mul.py running
Luke Kenneth Casson Leighton [Thu, 2 May 2019 17:43:00 +0000 (18:43 +0100)]
get test_mul.py running

5 years agoget test_mul.py operational
Luke Kenneth Casson Leighton [Thu, 2 May 2019 17:22:55 +0000 (18:22 +0100)]
get test_mul.py operational

5 years agobreak test_buf_pipe.py down into individual tests
Luke Kenneth Casson Leighton [Thu, 2 May 2019 17:13:35 +0000 (18:13 +0100)]
break test_buf_pipe.py down into individual tests

5 years agomove test_fsm_experiment.py
Luke Kenneth Casson Leighton [Thu, 2 May 2019 14:48:28 +0000 (15:48 +0100)]
move test_fsm_experiment.py

5 years agorelative imports
Luke Kenneth Casson Leighton [Thu, 2 May 2019 14:44:24 +0000 (15:44 +0100)]
relative imports

5 years agoadd __init__.py to nmutil/test
Luke Kenneth Casson Leighton [Thu, 2 May 2019 14:43:09 +0000 (15:43 +0100)]
add __init__.py to nmutil/test

5 years agotidy imports
Luke Kenneth Casson Leighton [Thu, 2 May 2019 14:41:44 +0000 (15:41 +0100)]
tidy imports

5 years agoget test_fpadd_pipe.py working
Luke Kenneth Casson Leighton [Thu, 2 May 2019 14:37:42 +0000 (15:37 +0100)]
get test_fpadd_pipe.py working

5 years agoget test_add working after reorg
Luke Kenneth Casson Leighton [Thu, 2 May 2019 14:36:48 +0000 (15:36 +0100)]
get test_add working after reorg

5 years agomore code-shuffle
Luke Kenneth Casson Leighton [Thu, 2 May 2019 14:34:30 +0000 (15:34 +0100)]
more code-shuffle

5 years agomove fpbase.py
Luke Kenneth Casson Leighton [Thu, 2 May 2019 14:15:43 +0000 (15:15 +0100)]
move fpbase.py

5 years agomove common unit test code
Luke Kenneth Casson Leighton [Thu, 2 May 2019 14:13:00 +0000 (15:13 +0100)]
move common unit test code

5 years agoadd tools.py from nmigen (imports fixed)
Luke Kenneth Casson Leighton [Thu, 2 May 2019 14:07:26 +0000 (15:07 +0100)]
add tools.py from nmigen (imports fixed)

5 years agomove fsqrt.py to own subdir
Luke Kenneth Casson Leighton [Thu, 2 May 2019 13:26:42 +0000 (14:26 +0100)]
move fsqrt.py to own subdir

5 years agorename testbench to tbench, avoid nose3 issue
Luke Kenneth Casson Leighton [Thu, 2 May 2019 13:17:56 +0000 (14:17 +0100)]
rename testbench to tbench, avoid nose3 issue

5 years agomove more unit tests
Luke Kenneth Casson Leighton [Thu, 2 May 2019 13:16:45 +0000 (14:16 +0100)]
move more unit tests

5 years agoadd ignore on *.v and *.il
Luke Kenneth Casson Leighton [Thu, 2 May 2019 13:13:49 +0000 (14:13 +0100)]
add ignore on *.v and *.il

5 years agomore code-shuffling into subdirs
Luke Kenneth Casson Leighton [Thu, 2 May 2019 13:08:55 +0000 (14:08 +0100)]
more code-shuffling into subdirs

5 years agomove test_buf_pipe.py unit test, shuffle nmutil
Luke Kenneth Casson Leighton [Thu, 2 May 2019 13:03:37 +0000 (14:03 +0100)]
move test_buf_pipe.py unit test, shuffle nmutil

5 years agomove singlepipe, multipipe, nmoperator and pipeline.py to nmutil
Luke Kenneth Casson Leighton [Thu, 2 May 2019 12:57:20 +0000 (13:57 +0100)]
move singlepipe, multipipe, nmoperator and pipeline.py to nmutil

5 years agoreorganise imports
Luke Kenneth Casson Leighton [Thu, 2 May 2019 12:55:36 +0000 (13:55 +0100)]
reorganise imports

5 years agomove fpadd to top level
Luke Kenneth Casson Leighton [Thu, 2 May 2019 12:48:32 +0000 (13:48 +0100)]
move fpadd to top level

5 years agomove fpcommon to separate subdir
Luke Kenneth Casson Leighton [Thu, 2 May 2019 12:47:35 +0000 (13:47 +0100)]
move fpcommon to separate subdir

5 years agoadd __init__.py to add dir
Luke Kenneth Casson Leighton [Thu, 2 May 2019 12:47:07 +0000 (13:47 +0100)]
add __init__.py to add dir

5 years agoadd make install and make test
Luke Kenneth Casson Leighton [Thu, 2 May 2019 12:46:07 +0000 (13:46 +0100)]
add make install and make test

5 years agoadd setup.py
Luke Kenneth Casson Leighton [Thu, 2 May 2019 12:44:19 +0000 (13:44 +0100)]
add setup.py

5 years agomove add to ieee754 directory
Luke Kenneth Casson Leighton [Thu, 2 May 2019 12:42:57 +0000 (13:42 +0100)]
move add to ieee754 directory

5 years agoupdate comments
Luke Kenneth Casson Leighton [Tue, 30 Apr 2019 22:37:23 +0000 (23:37 +0100)]
update comments

5 years agoupdate comments
Luke Kenneth Casson Leighton [Tue, 30 Apr 2019 22:36:21 +0000 (23:36 +0100)]
update comments

5 years agomove normalise function, add lowbits param, call it
Luke Kenneth Casson Leighton [Tue, 30 Apr 2019 20:54:18 +0000 (21:54 +0100)]
move normalise function, add lowbits param, call it

5 years agouse a PrevControl and NextControl to make Queue look exactly like a ControlBase
Luke Kenneth Casson Leighton [Tue, 30 Apr 2019 20:45:59 +0000 (21:45 +0100)]
use a PrevControl and NextControl to make Queue look exactly like a ControlBase

5 years agoCreated the normalise function
Aleksandar Kostovic [Tue, 30 Apr 2019 14:33:34 +0000 (16:33 +0200)]
Created the normalise function

5 years agouse nmoperator instead of direct eq
Luke Kenneth Casson Leighton [Tue, 30 Apr 2019 13:15:27 +0000 (14:15 +0100)]
use nmoperator instead of direct eq

5 years agowhitespace
Luke Kenneth Casson Leighton [Tue, 30 Apr 2019 13:15:15 +0000 (14:15 +0100)]
whitespace

5 years agoadd comment
Luke Kenneth Casson Leighton [Tue, 30 Apr 2019 01:59:02 +0000 (02:59 +0100)]
add comment

5 years agominor code-shuffle on sqrt() fn
Luke Kenneth Casson Leighton [Tue, 30 Apr 2019 01:58:21 +0000 (02:58 +0100)]
minor code-shuffle on sqrt() fn

5 years agoreturn remainder from sqrt() to see what it looks like
Luke Kenneth Casson Leighton [Tue, 30 Apr 2019 01:48:40 +0000 (02:48 +0100)]
return remainder from sqrt() to see what it looks like

5 years agoadd missing data_i and data_o temporarily
Luke Kenneth Casson Leighton [Tue, 30 Apr 2019 01:17:06 +0000 (02:17 +0100)]
add missing data_i and data_o temporarily

5 years agomorphing FPDIV into Stage API compliance
Luke Kenneth Casson Leighton [Tue, 30 Apr 2019 00:33:24 +0000 (01:33 +0100)]
morphing FPDIV into Stage API compliance

5 years agomake _connect_in/_connect_out data eq optional
Luke Kenneth Casson Leighton [Tue, 30 Apr 2019 00:04:46 +0000 (01:04 +0100)]
make _connect_in/_connect_out data eq optional

5 years agowhoops, use _spec on new_specs
Luke Kenneth Casson Leighton [Mon, 29 Apr 2019 23:49:57 +0000 (00:49 +0100)]
whoops, use _spec on new_specs

5 years agoupdate comments on FIFOControl
Luke Kenneth Casson Leighton [Mon, 29 Apr 2019 23:24:22 +0000 (00:24 +0100)]
update comments on FIFOControl

5 years agoadded links explaining Moore FSM / Mealy FSM
Luke Kenneth Casson Leighton [Mon, 29 Apr 2019 23:15:35 +0000 (00:15 +0100)]
added links explaining Moore FSM / Mealy FSM

5 years agoadd comment on _spec
Luke Kenneth Casson Leighton [Mon, 29 Apr 2019 22:46:30 +0000 (23:46 +0100)]
add comment on _spec

5 years agospelling correction
Luke Kenneth Casson Leighton [Mon, 29 Apr 2019 22:04:58 +0000 (23:04 +0100)]
spelling correction

5 years agoderive StageChain from StageHelper, use set_specs instead of manual ispec/ospec
Luke Kenneth Casson Leighton [Mon, 29 Apr 2019 22:03:11 +0000 (23:03 +0100)]
derive StageChain from StageHelper, use set_specs instead of manual ispec/ospec
function, add auto-detect to set_specs to determine if it is
passed an object that has a "stage"

5 years agomove StageHelper class
Luke Kenneth Casson Leighton [Mon, 29 Apr 2019 22:02:02 +0000 (23:02 +0100)]
move StageHelper class