Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 14:05:47 +0000 (14:05 +0000)]
create FPRoundData and use between FPRound and FPCorrections
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 13:54:08 +0000 (13:54 +0000)]
add id_wid/mid to FPNorm1Data
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 13:52:46 +0000 (13:52 +0000)]
add id_wid/mid to FPAddStage1Data
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 13:51:07 +0000 (13:51 +0000)]
add id_wid to FPNumIn2Ops
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 13:49:07 +0000 (13:49 +0000)]
add mid to Stage0Data
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 13:47:07 +0000 (13:47 +0000)]
add id_wid argument and mid to FPNum2Ops
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 07:02:10 +0000 (07:02 +0000)]
add FPPackData class, includes mid to be passed through
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 06:59:29 +0000 (06:59 +0000)]
add ispec and ospec to FPPack
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:35:07 +0000 (14:35 +0000)]
use FPNorm1ModSingle ospec, sort out setup
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:31:26 +0000 (14:31 +0000)]
use FPNorm1Data to output z and roundz from Norm1 module
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:25:34 +0000 (14:25 +0000)]
remove unneeded argument
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:22:29 +0000 (14:22 +0000)]
use ospec in FPNormToPack
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:20:23 +0000 (14:20 +0000)]
use ospec/ispec in FPPackMod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:19:04 +0000 (14:19 +0000)]
use ospec/ispec in FPCorrectionsMod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:17:19 +0000 (14:17 +0000)]
use ospec in FPRound
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:16:41 +0000 (14:16 +0000)]
use ispec/ospec in FPRoundMod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:12:48 +0000 (14:12 +0000)]
FPNorm1Single out_z wrong arguments
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:12:31 +0000 (14:12 +0000)]
add FPNorm1Data class
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:41:19 +0000 (13:41 +0000)]
remove unneeded variable
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:39:56 +0000 (13:39 +0000)]
use ispec and ospec in FPNorm1ModSingle
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:35:29 +0000 (13:35 +0000)]
remove unneeded variable
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:33:47 +0000 (13:33 +0000)]
use ispec and ospec in FPNormaliseModSingle
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:29:36 +0000 (13:29 +0000)]
more use of ospec
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:28:17 +0000 (13:28 +0000)]
use ospec in FPAddAlignSingleAdd
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:22:49 +0000 (13:22 +0000)]
remove unneeded variable
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:22:01 +0000 (13:22 +0000)]
use ospec and ispec in FPAddStage1Mod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:17:54 +0000 (13:17 +0000)]
use mod.ospec in FPAddStage0
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:16:18 +0000 (13:16 +0000)]
add ospec to FPAddStage0Mod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:13:17 +0000 (13:13 +0000)]
add ispec to AddStage0Mod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:10:03 +0000 (13:10 +0000)]
remove redundant in_z
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:08:58 +0000 (13:08 +0000)]
use ospec in AddAlignSingleMod class
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:01:11 +0000 (13:01 +0000)]
use ispec/ospec in FPAddAlignSingleMod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 12:56:40 +0000 (12:56 +0000)]
use ospec in FPAddSpecialCasesDeNorm module
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 12:53:32 +0000 (12:53 +0000)]
convert FPAddDeNormMod to ospec/ispec
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 12:48:02 +0000 (12:48 +0000)]
use ospec to make clone of out_z
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 12:46:14 +0000 (12:46 +0000)]
add ospec function to SpecialCases Mod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 12:45:01 +0000 (12:45 +0000)]
create FPNumBase2Ops class and add ispec function to SpecialCasesMod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 12:37:52 +0000 (12:37 +0000)]
update comments
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 11:13:59 +0000 (11:13 +0000)]
create example pipeline buffer "StageChain" example,
fix bug where output from one stage was not being assigned as the input
to the next
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 10:56:38 +0000 (10:56 +0000)]
add StageChain class which links an arbitrary number of combinatorial stages
together into a single stage, presenting the exact same API
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 10:55:23 +0000 (10:55 +0000)]
add a couple of example names to one of the pipeline stages
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 09:13:44 +0000 (09:13 +0000)]
add a class-based unit test, found bug in eq function as a result:
eq function from Example2OpClass was returning a list of assignment
statements, which was resulting in a list-of-lists being created.
flattening to a single 1D list was required
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 06:40:37 +0000 (06:40 +0000)]
split out p.i_valid logic into separate function, use in combpipe as well
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 06:35:53 +0000 (06:35 +0000)]
multi-bit control capability
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 12:39:04 +0000 (12:39 +0000)]
update comments
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 12:23:53 +0000 (12:23 +0000)]
update comments
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 12:21:56 +0000 (12:21 +0000)]
update comments
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 07:28:41 +0000 (07:28 +0000)]
rename copy function to eq function
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 06:51:43 +0000 (06:51 +0000)]
add Record pipeline example and support
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 05:57:16 +0000 (05:57 +0000)]
add comment about ports needing flattening
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 05:15:04 +0000 (05:15 +0000)]
output less-than test to ilang
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 05:05:48 +0000 (05:05 +0000)]
remove unneeded functions, make result and r_data local to elaborate()
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 05:04:50 +0000 (05:04 +0000)]
remove unneeded functions, make result and r_data local to elaborate()
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 04:59:02 +0000 (04:59 +0000)]
r_data and result need not be class members, made local to elaborate
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 04:39:39 +0000 (04:39 +0000)]
add comment to eq function
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 04:36:29 +0000 (04:36 +0000)]
split out common code for both pipeline designs
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 04:27:20 +0000 (04:27 +0000)]
rename p.data to p.i_data and n.data to n.o_data
names were lost during initial code-morph
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 04:16:06 +0000 (04:16 +0000)]
move connect_out function to NextControl
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 04:15:33 +0000 (04:15 +0000)]
move connect_in function to PrevControl
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 04:11:38 +0000 (04:11 +0000)]
create connect_to_next function in NextControl, use it in Stage
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 04:01:01 +0000 (04:01 +0000)]
rename / reorder to have prev and next control classes
input i_ and output o_ secondary prefixes are kept
Luke Kenneth Casson Leighton [Mon, 18 Mar 2019 19:32:10 +0000 (19:32 +0000)]
add module setup function in pipe stage
Luke Kenneth Casson Leighton [Mon, 18 Mar 2019 17:35:21 +0000 (17:35 +0000)]
rename o_comb to result in comb block
Luke Kenneth Casson Leighton [Mon, 18 Mar 2019 17:21:48 +0000 (17:21 +0000)]
dont need input combinatorial
Luke Kenneth Casson Leighton [Mon, 18 Mar 2019 17:16:43 +0000 (17:16 +0000)]
add combinatorial pipe example
Luke Kenneth Casson Leighton [Mon, 18 Mar 2019 12:06:43 +0000 (12:06 +0000)]
clarify comments
Luke Kenneth Casson Leighton [Mon, 18 Mar 2019 11:55:42 +0000 (11:55 +0000)]
create helper functions to connect input to output on pipeline stages
Luke Kenneth Casson Leighton [Mon, 18 Mar 2019 11:31:40 +0000 (11:31 +0000)]
refactor the buffered pipeline to a cleaner API with better separation
Aleksandar Kostovic [Fri, 15 Mar 2019 15:14:38 +0000 (16:14 +0100)]
Removed unnecessary files
Aleksandar Kostovic [Fri, 15 Mar 2019 15:12:34 +0000 (16:12 +0100)]
Merge branch 'master' of ssh://libre-riscv.org:922/ieee754fpu
Aleksandar Kostovic [Fri, 15 Mar 2019 15:12:13 +0000 (16:12 +0100)]
Only Imported FPGetOp
Luke Kenneth Casson Leighton [Fri, 15 Mar 2019 14:00:28 +0000 (14:00 +0000)]
increase frequency of number of entries placed in the InputGroup
Luke Kenneth Casson Leighton [Fri, 15 Mar 2019 13:58:31 +0000 (13:58 +0000)]
move ack to inside loop, seems to reduce time spent in InputGroup parallel test
Luke Kenneth Casson Leighton [Fri, 15 Mar 2019 12:37:14 +0000 (12:37 +0000)]
add parallel InputGroup unit test
Luke Kenneth Casson Leighton [Fri, 15 Mar 2019 10:59:44 +0000 (10:59 +0000)]
rename BufPipe example to ExampleBufPipe
Luke Kenneth Casson Leighton [Fri, 15 Mar 2019 09:59:07 +0000 (09:59 +0000)]
instantiate 2 FPGetOp instances and use them. a little awkwardly.
Luke Kenneth Casson Leighton [Fri, 15 Mar 2019 09:33:44 +0000 (09:33 +0000)]
update comments
Luke Kenneth Casson Leighton [Fri, 15 Mar 2019 09:22:58 +0000 (09:22 +0000)]
remove unnecessary code
Luke Kenneth Casson Leighton [Fri, 15 Mar 2019 08:47:21 +0000 (08:47 +0000)]
add extra comment block explaining pipe stage example
Luke Kenneth Casson Leighton [Fri, 15 Mar 2019 08:37:18 +0000 (08:37 +0000)]
inverted busy signal and named it "ready"
Luke Kenneth Casson Leighton [Fri, 15 Mar 2019 08:29:56 +0000 (08:29 +0000)]
rename stb to "valid"
Luke Kenneth Casson Leighton [Fri, 15 Mar 2019 08:28:18 +0000 (08:28 +0000)]
create classes for STB/BUSY, split in from out
Luke Kenneth Casson Leighton [Fri, 15 Mar 2019 00:31:30 +0000 (00:31 +0000)]
add use of FPState, not being used yet
Luke Kenneth Casson Leighton [Thu, 14 Mar 2019 13:32:06 +0000 (13:32 +0000)]
split pipeline test into 2 functions, one send, one receive
Luke Kenneth Casson Leighton [Thu, 14 Mar 2019 06:33:10 +0000 (06:33 +0000)]
got fpdiv up and running again
Luke Kenneth Casson Leighton [Thu, 14 Mar 2019 05:41:02 +0000 (05:41 +0000)]
forgot to add submodules
Luke Kenneth Casson Leighton [Thu, 14 Mar 2019 05:09:36 +0000 (05:09 +0000)]
got rounding working again for fmul
Luke Kenneth Casson Leighton [Thu, 14 Mar 2019 04:42:53 +0000 (04:42 +0000)]
remove extra arg from old roundz function
Luke Kenneth Casson Leighton [Thu, 14 Mar 2019 04:33:01 +0000 (04:33 +0000)]
make a bit of a mess of the unit tests, getting mul up and running again
taking a copy (sigh) of the old version of check_case and get_case
Luke Kenneth Casson Leighton [Thu, 14 Mar 2019 04:17:28 +0000 (04:17 +0000)]
get roundz working again, needed for mul stage
Luke Kenneth Casson Leighton [Thu, 14 Mar 2019 04:16:28 +0000 (04:16 +0000)]
add new FPNormaliseSingleMod, not tested
Luke Kenneth Casson Leighton [Thu, 14 Mar 2019 03:18:06 +0000 (03:18 +0000)]
start to get fpmul back up and running
Luke Kenneth Casson Leighton [Thu, 14 Mar 2019 03:04:33 +0000 (03:04 +0000)]
replace copy of FPState with import of FPState
Luke Kenneth Casson Leighton [Thu, 14 Mar 2019 02:54:57 +0000 (02:54 +0000)]
update comments
Aleksandar Kostovic [Wed, 13 Mar 2019 17:39:14 +0000 (18:39 +0100)]
Started to update fmul.py to new conventions
Luke Kenneth Casson Leighton [Wed, 13 Mar 2019 12:39:09 +0000 (12:39 +0000)]
increase data set to throw at pipeline in tests
Luke Kenneth Casson Leighton [Wed, 13 Mar 2019 11:48:10 +0000 (11:48 +0000)]
add random-busy, random-send single and dual buffered pipeline tests
Luke Kenneth Casson Leighton [Wed, 13 Mar 2019 11:01:22 +0000 (11:01 +0000)]
split out actual pipeline stage into separate class
Luke Kenneth Casson Leighton [Wed, 13 Mar 2019 07:26:23 +0000 (07:26 +0000)]
add 2 stage buffered pipeline unit test, reduce to 16-bit to make vcd clearer
Luke Kenneth Casson Leighton [Wed, 13 Mar 2019 04:26:24 +0000 (04:26 +0000)]
only process data if the input strobe is valid