ieee754fpu.git
5 years agoreduce args to FPAddStage0
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 19:58:33 +0000 (19:58 +0000)]
reduce args to FPAddStage0

5 years agoreorganise FPAddAlignSingleAdd
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 19:57:18 +0000 (19:57 +0000)]
reorganise FPAddAlignSingleAdd

5 years agoreduce Add1Stage setup args
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 19:53:34 +0000 (19:53 +0000)]
reduce Add1Stage setup args

5 years agoreorder args, clarify
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 19:51:32 +0000 (19:51 +0000)]
reorder args, clarify

5 years agoreduce setup args to FPCorrections
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 19:50:38 +0000 (19:50 +0000)]
reduce setup args to FPCorrections

5 years agoreduce FPNormModSingle setup to input connections
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 19:49:07 +0000 (19:49 +0000)]
reduce FPNormModSingle setup to input connections

5 years agorename FPADDBase out_z to o
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 18:35:02 +0000 (18:35 +0000)]
rename FPADDBase out_z to o

5 years agoremove out_z and out_mid from FPADDBase, make part of module
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 18:32:57 +0000 (18:32 +0000)]
remove out_z and out_mid from FPADDBase, make part of module

5 years agocreate FPOpData in FPADDBase and use it
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 18:27:34 +0000 (18:27 +0000)]
create FPOpData in FPADDBase and use it

5 years agocreate and use FPOpData
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 18:25:42 +0000 (18:25 +0000)]
create and use FPOpData

5 years agocreate ospec for FPADDBase
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 18:21:44 +0000 (18:21 +0000)]
create ospec for FPADDBase

5 years agopass in a manually-constructed FPADDBaseData object into FPADDBase
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 15:54:59 +0000 (15:54 +0000)]
pass in a manually-constructed FPADDBaseData object into FPADDBase

5 years agoremove unneeded code
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 15:48:18 +0000 (15:48 +0000)]
remove unneeded code

5 years agoremove unneeded arguments
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 15:47:57 +0000 (15:47 +0000)]
remove unneeded arguments

5 years agoreduce setup args in FPGet2Op
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 15:46:00 +0000 (15:46 +0000)]
reduce setup args in FPGet2Op

5 years agouse FPADDBaseData in FPGet2OpMod
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 15:45:00 +0000 (15:45 +0000)]
use FPADDBaseData in FPGet2OpMod

5 years agoadd FPADDBaseData with ispec
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 15:42:44 +0000 (15:42 +0000)]
add FPADDBaseData with ispec

5 years agocompact down setup to take one argument (input)
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 15:37:02 +0000 (15:37 +0000)]
compact down setup to take one argument (input)

5 years agocompact down setup to take one argument (input)
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 15:35:11 +0000 (15:35 +0000)]
compact down setup to take one argument (input)

5 years agowhitespace cleanup
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 15:31:00 +0000 (15:31 +0000)]
whitespace cleanup

5 years agostart connecting FPNumBase2Ops
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 15:30:35 +0000 (15:30 +0000)]
start connecting FPNumBase2Ops

5 years agouse FPNumBase2Ops for FPGet2OpMod
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 15:29:16 +0000 (15:29 +0000)]
use FPNumBase2Ops for FPGet2OpMod

5 years agoadd FPPackData class, includes mid to be passed through
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 15:27:47 +0000 (15:27 +0000)]
add FPPackData class, includes mid to be passed through

5 years agouse FPPackData in specialcases mod
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 14:25:51 +0000 (14:25 +0000)]
use FPPackData in specialcases mod

5 years agoadd FPPackData and return as ospec
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 14:16:37 +0000 (14:16 +0000)]
add FPPackData and return as ospec

5 years agorename in_z and out_z to i and o
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 14:10:18 +0000 (14:10 +0000)]
rename in_z and out_z to i and o

5 years agouse FPRoundData in FPPackMod
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 14:08:51 +0000 (14:08 +0000)]
use FPRoundData in FPPackMod

5 years agocreate FPRoundData and use between FPRound and FPCorrections
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 14:05:47 +0000 (14:05 +0000)]
create FPRoundData and use between FPRound and FPCorrections

5 years agoadd id_wid/mid to FPNorm1Data
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 13:54:08 +0000 (13:54 +0000)]
add id_wid/mid to FPNorm1Data

5 years agoadd id_wid/mid to FPAddStage1Data
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 13:52:46 +0000 (13:52 +0000)]
add id_wid/mid to FPAddStage1Data

5 years agoadd id_wid to FPNumIn2Ops
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 13:51:07 +0000 (13:51 +0000)]
add id_wid to FPNumIn2Ops

5 years agoadd mid to Stage0Data
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 13:49:07 +0000 (13:49 +0000)]
add mid to Stage0Data

5 years agoadd id_wid argument and mid to FPNum2Ops
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 13:47:07 +0000 (13:47 +0000)]
add id_wid argument and mid to FPNum2Ops

5 years agoadd FPPackData class, includes mid to be passed through
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 07:02:10 +0000 (07:02 +0000)]
add FPPackData class, includes mid to be passed through

5 years agoadd ispec and ospec to FPPack
Luke Kenneth Casson Leighton [Thu, 21 Mar 2019 06:59:29 +0000 (06:59 +0000)]
add ispec and ospec to FPPack

5 years agouse FPNorm1ModSingle ospec, sort out setup
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:35:07 +0000 (14:35 +0000)]
use FPNorm1ModSingle ospec, sort out setup

5 years agouse FPNorm1Data to output z and roundz from Norm1 module
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

5 years agoremove unneeded argument
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:25:34 +0000 (14:25 +0000)]
remove unneeded argument

5 years agouse ospec in FPNormToPack
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:22:29 +0000 (14:22 +0000)]
use ospec in FPNormToPack

5 years agouse ospec/ispec in FPPackMod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:20:23 +0000 (14:20 +0000)]
use ospec/ispec in FPPackMod

5 years agouse ospec/ispec in FPCorrectionsMod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:19:04 +0000 (14:19 +0000)]
use ospec/ispec in FPCorrectionsMod

5 years agouse ospec in FPRound
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:17:19 +0000 (14:17 +0000)]
use ospec in FPRound

5 years agouse ispec/ospec in FPRoundMod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:16:41 +0000 (14:16 +0000)]
use ispec/ospec in FPRoundMod

5 years agoFPNorm1Single out_z wrong arguments
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:12:48 +0000 (14:12 +0000)]
FPNorm1Single out_z wrong arguments

5 years agoadd FPNorm1Data class
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 14:12:31 +0000 (14:12 +0000)]
add FPNorm1Data class

5 years agoremove unneeded variable
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:41:19 +0000 (13:41 +0000)]
remove unneeded variable

5 years agouse ispec and ospec in FPNorm1ModSingle
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:39:56 +0000 (13:39 +0000)]
use ispec and ospec in FPNorm1ModSingle

5 years agoremove unneeded variable
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:35:29 +0000 (13:35 +0000)]
remove unneeded variable

5 years agouse ispec and ospec in FPNormaliseModSingle
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:33:47 +0000 (13:33 +0000)]
use ispec and ospec in FPNormaliseModSingle

5 years agomore use of ospec
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:29:36 +0000 (13:29 +0000)]
more use of ospec

5 years agouse ospec in FPAddAlignSingleAdd
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:28:17 +0000 (13:28 +0000)]
use ospec in FPAddAlignSingleAdd

5 years agoremove unneeded variable
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:22:49 +0000 (13:22 +0000)]
remove unneeded variable

5 years agouse ospec and ispec in FPAddStage1Mod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:22:01 +0000 (13:22 +0000)]
use ospec and ispec in FPAddStage1Mod

5 years agouse mod.ospec in FPAddStage0
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:17:54 +0000 (13:17 +0000)]
use mod.ospec in FPAddStage0

5 years agoadd ospec to FPAddStage0Mod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:16:18 +0000 (13:16 +0000)]
add ospec to FPAddStage0Mod

5 years agoadd ispec to AddStage0Mod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:13:17 +0000 (13:13 +0000)]
add ispec to AddStage0Mod

5 years agoremove redundant in_z
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:10:03 +0000 (13:10 +0000)]
remove redundant in_z

5 years agouse ospec in AddAlignSingleMod class
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:08:58 +0000 (13:08 +0000)]
use ospec in AddAlignSingleMod class

5 years agouse ispec/ospec in FPAddAlignSingleMod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 13:01:11 +0000 (13:01 +0000)]
use ispec/ospec in FPAddAlignSingleMod

5 years agouse ospec in FPAddSpecialCasesDeNorm module
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 12:56:40 +0000 (12:56 +0000)]
use ospec in FPAddSpecialCasesDeNorm module

5 years agoconvert FPAddDeNormMod to ospec/ispec
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 12:53:32 +0000 (12:53 +0000)]
convert FPAddDeNormMod to ospec/ispec

5 years agouse ospec to make clone of out_z
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 12:48:02 +0000 (12:48 +0000)]
use ospec to make clone of out_z

5 years agoadd ospec function to SpecialCases Mod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 12:46:14 +0000 (12:46 +0000)]
add ospec function to SpecialCases Mod

5 years agocreate FPNumBase2Ops class and add ispec function to SpecialCasesMod
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 12:45:01 +0000 (12:45 +0000)]
create FPNumBase2Ops class and add ispec function to SpecialCasesMod

5 years agoupdate comments
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 12:37:52 +0000 (12:37 +0000)]
update comments

5 years agocreate example pipeline buffer "StageChain" example,
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

5 years agoadd StageChain class which links an arbitrary number of combinatorial stages
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

5 years agoadd a couple of example names to one of the pipeline stages
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

5 years agoadd a class-based unit test, found bug in eq function as a result:
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

5 years agosplit out p.i_valid logic into separate function, use in combpipe as well
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

5 years agomulti-bit control capability
Luke Kenneth Casson Leighton [Wed, 20 Mar 2019 06:35:53 +0000 (06:35 +0000)]
multi-bit control capability

5 years agoupdate comments
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 12:39:04 +0000 (12:39 +0000)]
update comments

5 years agoupdate comments
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 12:23:53 +0000 (12:23 +0000)]
update comments

5 years agoupdate comments
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 12:21:56 +0000 (12:21 +0000)]
update comments

5 years agorename copy function to eq function
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 07:28:41 +0000 (07:28 +0000)]
rename copy function to eq function

5 years agoadd Record pipeline example and support
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 06:51:43 +0000 (06:51 +0000)]
add Record pipeline example and support

5 years agoadd comment about ports needing flattening
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 05:57:16 +0000 (05:57 +0000)]
add comment about ports needing flattening

5 years agooutput less-than test to ilang
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 05:15:04 +0000 (05:15 +0000)]
output less-than test to ilang

5 years agoremove unneeded functions, make result and r_data local to elaborate()
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()

5 years agoremove 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()

5 years agor_data and result need not be class members, made 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

5 years agoadd comment to eq function
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 04:39:39 +0000 (04:39 +0000)]
add comment to eq function

5 years agosplit out common code for both pipeline designs
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 04:36:29 +0000 (04:36 +0000)]
split out common code for both pipeline designs

5 years agorename p.data to p.i_data and n.data to n.o_data
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

5 years agomove connect_out function to NextControl
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 04:16:06 +0000 (04:16 +0000)]
move connect_out function to NextControl

5 years agomove connect_in function to PrevControl
Luke Kenneth Casson Leighton [Tue, 19 Mar 2019 04:15:33 +0000 (04:15 +0000)]
move connect_in function to PrevControl

5 years agocreate connect_to_next function in NextControl, use it in Stage
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

5 years agorename / reorder to have prev and next control classes
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

5 years agoadd module setup function in pipe stage
Luke Kenneth Casson Leighton [Mon, 18 Mar 2019 19:32:10 +0000 (19:32 +0000)]
add module setup function in pipe stage

5 years agorename o_comb to result in comb block
Luke Kenneth Casson Leighton [Mon, 18 Mar 2019 17:35:21 +0000 (17:35 +0000)]
rename o_comb to result in comb block

5 years agodont need input combinatorial
Luke Kenneth Casson Leighton [Mon, 18 Mar 2019 17:21:48 +0000 (17:21 +0000)]
dont need input combinatorial

5 years agoadd combinatorial pipe example
Luke Kenneth Casson Leighton [Mon, 18 Mar 2019 17:16:43 +0000 (17:16 +0000)]
add combinatorial pipe example

5 years agoclarify comments
Luke Kenneth Casson Leighton [Mon, 18 Mar 2019 12:06:43 +0000 (12:06 +0000)]
clarify comments

5 years agocreate helper functions to connect input to output on pipeline stages
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

5 years agorefactor the buffered pipeline to a cleaner API with better separation
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

5 years agoRemoved unnecessary files
Aleksandar Kostovic [Fri, 15 Mar 2019 15:14:38 +0000 (16:14 +0100)]
Removed unnecessary files

5 years agoMerge branch 'master' of ssh://libre-riscv.org:922/ieee754fpu
Aleksandar Kostovic [Fri, 15 Mar 2019 15:12:34 +0000 (16:12 +0100)]
Merge branch 'master' of ssh://libre-riscv.org:922/ieee754fpu

5 years agoOnly Imported FPGetOp
Aleksandar Kostovic [Fri, 15 Mar 2019 15:12:13 +0000 (16:12 +0100)]
Only Imported FPGetOp

5 years agoincrease frequency of number of entries placed in the InputGroup
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

5 years agomove ack to inside loop, seems to reduce time spent in InputGroup parallel test
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