ieee754fpu.git
5 years agouse correct function in unit test
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 14:42:08 +0000 (14:42 +0000)]
use correct function in unit test

5 years agoget old fpadd back
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 14:31:21 +0000 (14:31 +0000)]
get old fpadd back

5 years agoimports: get div and mul working
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 14:18:07 +0000 (14:18 +0000)]
imports: get div and mul working

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:48:45 +0000 (12:48 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:47:30 +0000 (12:47 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:45:59 +0000 (12:45 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:44:27 +0000 (12:44 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:43:26 +0000 (12:43 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:42:19 +0000 (12:42 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:41:00 +0000 (12:41 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:39:43 +0000 (12:39 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:38:10 +0000 (12:38 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:36:14 +0000 (12:36 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:33:37 +0000 (12:33 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:31:48 +0000 (12:31 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:29:32 +0000 (12:29 +0000)]
remove unneeded imports

5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:27:45 +0000 (12:27 +0000)]
remove unneeded imports

5 years agostart removing unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:23:21 +0000 (12:23 +0000)]
start removing unneeded imports

5 years agostart removing unneeded imports
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:22:43 +0000 (12:22 +0000)]
start removing unneeded imports

5 years agosplit out pipeline and statemachine to separate modules
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:19:04 +0000 (12:19 +0000)]
split out pipeline and statemachine to separate modules

5 years agosplit out addstages to separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:14:19 +0000 (12:14 +0000)]
split out addstages to separate module

5 years agosplit out add1 to separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:11:56 +0000 (12:11 +0000)]
split out add1 to separate module

5 years agosplit out add stage 0 to separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:10:00 +0000 (12:10 +0000)]
split out add stage 0 to separate module

5 years agosplit out add align into separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:07:19 +0000 (12:07 +0000)]
split out add align into separate module

5 years agosplit out add specialcases to separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 12:02:53 +0000 (12:02 +0000)]
split out add specialcases to separate module

5 years agosplit out putz to separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 11:56:48 +0000 (11:56 +0000)]
split out putz to separate module

5 years agosplit out normtopack to separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 11:54:45 +0000 (11:54 +0000)]
split out normtopack to separate module

5 years agosplit out pack to separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 11:51:36 +0000 (11:51 +0000)]
split out pack to separate module

5 years agosplit out corrections to separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 11:49:37 +0000 (11:49 +0000)]
split out corrections to separate module

5 years agosplit out rounding to separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 11:47:10 +0000 (11:47 +0000)]
split out rounding to separate module

5 years agoremove accidentally-included code
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 11:44:20 +0000 (11:44 +0000)]
remove accidentally-included code

5 years agomove FPID to fpbase
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 11:43:19 +0000 (11:43 +0000)]
move FPID to fpbase

5 years agosplit out normalisation to separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 11:42:30 +0000 (11:42 +0000)]
split out normalisation to separate module

5 years agosplit out prenormalisation to separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 11:35:44 +0000 (11:35 +0000)]
split out prenormalisation to separate module

5 years agosplit out denorm to separate module
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 11:33:28 +0000 (11:33 +0000)]
split out denorm to separate module

5 years agostart splitting out common code from nmigen_add_experiment.py
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 11:29:53 +0000 (11:29 +0000)]
start splitting out common code from nmigen_add_experiment.py

5 years agocreate separate pipeline examples
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 11:29:32 +0000 (11:29 +0000)]
create separate pipeline examples

5 years agonew ObjectProxy class for use in pipelines
Luke Kenneth Casson Leighton [Fri, 29 Mar 2019 01:24:17 +0000 (01:24 +0000)]
new ObjectProxy class for use in pipelines

5 years agouse Signal.like instead of value_bits_sign
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 23:22:33 +0000 (23:22 +0000)]
use Signal.like instead of value_bits_sign

5 years agouse singlepipe.eq function
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 23:07:55 +0000 (23:07 +0000)]
use singlepipe.eq function

5 years agoadd test, temporary comb variable to stage2
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 20:15:16 +0000 (20:15 +0000)]
add test, temporary comb variable to stage2

5 years agomake FPGet2Ops conform to Stage API, use in compact StageChain
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 16:46:17 +0000 (16:46 +0000)]
make FPGet2Ops conform to Stage API, use in compact StageChain

5 years agouse StageChain in FPADDBaseMod compact mode
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 16:40:02 +0000 (16:40 +0000)]
use StageChain in FPADDBaseMod compact mode

5 years agomissed out assignment in new specallocate=True StageChain mode
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 16:38:22 +0000 (16:38 +0000)]
missed out assignment in new specallocate=True StageChain mode

5 years agoadd new mode to StageChain which uses python output variables
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 16:31:05 +0000 (16:31 +0000)]
add new mode to StageChain which uses python output variables
instead of allocating ispec/ospec

5 years agouse StageChain for SCDeNorm
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 16:06:54 +0000 (16:06 +0000)]
use StageChain for SCDeNorm

5 years agosolve sync/comb issue with using state-machine or pipeline in DeNorm block
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 15:55:14 +0000 (15:55 +0000)]
solve sync/comb issue with using state-machine or pipeline in DeNorm block

5 years agosolve sync/comb issue with using state-machine or pipeline in FPNormToPack
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 15:51:47 +0000 (15:51 +0000)]
solve sync/comb issue with using state-machine or pipeline in FPNormToPack

5 years agosolve sync/comb for stage/state
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 15:49:49 +0000 (15:49 +0000)]
solve sync/comb for stage/state

5 years agoadd comments as a reminder to make code use sync for state-based
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 15:03:07 +0000 (15:03 +0000)]
add comments as a reminder to make code use sync for state-based

5 years agomulti-out temporary, simplify graphs
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 14:54:09 +0000 (14:54 +0000)]
multi-out temporary, simplify graphs

5 years agotry tidyup on multi-in ready/valid logic
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 14:50:35 +0000 (14:50 +0000)]
try tidyup on multi-in ready/valid logic

5 years agocreate temporary, simplifies graph
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 14:45:55 +0000 (14:45 +0000)]
create temporary, simplifies graph

5 years agocleanup
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 14:38:55 +0000 (14:38 +0000)]
cleanup

5 years agomove inputgroup to separate module
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 14:36:42 +0000 (14:36 +0000)]
move inputgroup to separate module

5 years agoremove redundant code
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 14:32:23 +0000 (14:32 +0000)]
remove redundant code

5 years agoadd comments
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 14:18:24 +0000 (14:18 +0000)]
add comments

5 years agoremove unneeded ports functions
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 14:16:11 +0000 (14:16 +0000)]
remove unneeded ports functions

5 years agouse PassThroughStage
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 14:14:56 +0000 (14:14 +0000)]
use PassThroughStage

5 years agocreate base multi-in ports function
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 14:14:21 +0000 (14:14 +0000)]
create base multi-in ports function

5 years agomove flexible ports fn to MultiOutControlBase
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 14:07:44 +0000 (14:07 +0000)]
move flexible ports fn to MultiOutControlBase

5 years agouse PassThroughStage instead of making one
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 14:02:35 +0000 (14:02 +0000)]
use PassThroughStage instead of making one

5 years agowhitespace
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 13:59:41 +0000 (13:59 +0000)]
whitespace

5 years agocleanup: remove redundant classes/code
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 13:54:30 +0000 (13:54 +0000)]
cleanup: remove redundant classes/code

5 years agoreorg, move similar classes to multipipe
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 13:51:01 +0000 (13:51 +0000)]
reorg, move similar classes to multipipe

5 years agomove PriorityCombMuxInPipe to multipipe
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 13:41:58 +0000 (13:41 +0000)]
move PriorityCombMuxInPipe to multipipe

5 years agowoo! got FPADD pipeline to work
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 12:46:26 +0000 (12:46 +0000)]
woo! got FPADD pipeline to work

required some m.d.sync to be converted to m.d.comb in multi-stage chains
state-based version did not care but pipeline did

5 years agocreate actual FPADD Pipeline from stages
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 10:55:23 +0000 (10:55 +0000)]
create actual FPADD Pipeline from stages

5 years agomove decode from FPNumOp to SpecialCases
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 10:23:26 +0000 (10:23 +0000)]
move decode from FPNumOp to SpecialCases

5 years agomove classes to before use
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 09:05:31 +0000 (09:05 +0000)]
move classes to before use

5 years agoadd process function to FPGet2OpMod
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 09:02:58 +0000 (09:02 +0000)]
add process function to FPGet2OpMod

5 years agomodify FPPackData to just a signal and mid
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 04:14:22 +0000 (04:14 +0000)]
modify FPPackData to just a signal and mid

5 years agoremove FPADDStageIn, use FPADDBaseData
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 04:06:30 +0000 (04:06 +0000)]
remove FPADDStageIn, use FPADDBaseData

5 years agocomplicated. change ControlBase.connect API to return list of eq statements
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 03:45:36 +0000 (03:45 +0000)]
complicated.  change ControlBase.connect API to return list of eq statements

nmigen module elaborate is not done recursively on submodules in
depth-first order.  connect fn was having a side-effect of establishing
the p.i_data and n.o_data... which were not set up from a submodule yet.

5 years agoremove print debug statements
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 03:40:29 +0000 (03:40 +0000)]
remove print debug statements

5 years agoadd unit test for multi-in multi-out FPADDBasePipe
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 03:39:57 +0000 (03:39 +0000)]
add unit test for multi-in multi-out FPADDBasePipe

5 years agorename pipes
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 03:28:04 +0000 (03:28 +0000)]
rename pipes

5 years agoadd start of FPADD Fan-in / Fan-out pipeline
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 01:56:14 +0000 (01:56 +0000)]
add start of FPADD Fan-in / Fan-out pipeline

5 years agowhoops connect 2nd pipe to outpipe
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 00:51:11 +0000 (00:51 +0000)]
whoops connect 2nd pipe to outpipe

5 years agoadd sub-calling of ports on o_data/i_data in ControlBase.ports
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 00:29:23 +0000 (00:29 +0000)]
add sub-calling of ports on o_data/i_data in ControlBase.ports

5 years agomake FPADDBasePipe derive from ControlBase
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 00:27:26 +0000 (00:27 +0000)]
make FPADDBasePipe derive from ControlBase

5 years agoadd process function to AddSpecialCasesMod
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 00:14:51 +0000 (00:14 +0000)]
add process function to AddSpecialCasesMod

5 years agoadd ospec/ispec to FPAddSpecialCasesDeNorm, also comment out out_do_z
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 00:13:42 +0000 (00:13 +0000)]
add ospec/ispec to FPAddSpecialCasesDeNorm, also comment out out_do_z

5 years agoadd process function to 3 stage-chained modules
Luke Kenneth Casson Leighton [Thu, 28 Mar 2019 00:09:17 +0000 (00:09 +0000)]
add process function to 3 stage-chained modules

5 years agoadd comments
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 23:28:00 +0000 (23:28 +0000)]
add comments

5 years agoadd comments
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 23:25:33 +0000 (23:25 +0000)]
add comments

5 years agoadd comments
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 23:18:04 +0000 (23:18 +0000)]
add comments

5 years agoremove print statement
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 21:43:15 +0000 (21:43 +0000)]
remove print statement

5 years agoadd inout muxer test
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 21:43:06 +0000 (21:43 +0000)]
add inout muxer test

5 years agoadd sync pipe to outmux test
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 21:42:53 +0000 (21:42 +0000)]
add sync pipe to outmux test

5 years agoadd important detection ArrayProxy and workaround in eq()
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 21:07:41 +0000 (21:07 +0000)]
add important detection ArrayProxy and workaround in eq()

5 years agoremove unneeded data_value
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 21:07:13 +0000 (21:07 +0000)]
remove unneeded data_value

5 years agogive example data out a name
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 14:57:22 +0000 (14:57 +0000)]
give example data out a name

5 years agoreorganise MultiOutPipe, seems to be near-identical to UnbufferedPipeline
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 14:54:57 +0000 (14:54 +0000)]
reorganise MultiOutPipe, seems to be near-identical to UnbufferedPipeline

5 years agomove data_valid to local variable
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 14:27:06 +0000 (14:27 +0000)]
move data_valid to local variable

5 years agomove data_valid to local variable
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 14:26:53 +0000 (14:26 +0000)]
move data_valid to local variable

5 years agoadd start of outputmux pipe test
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 14:08:04 +0000 (14:08 +0000)]
add start of outputmux pipe test

5 years agolost removal of result intermediary from UnbufferedPipeline
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 13:55:35 +0000 (13:55 +0000)]
lost removal of result intermediary from UnbufferedPipeline

combinatorial result intermediary not necessary, was removed earlier
and got restored accidentally when reverting array-based pipeline

5 years agowhitespace cleanup
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 13:20:20 +0000 (13:20 +0000)]
whitespace cleanup

5 years agoadd comment
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 12:38:37 +0000 (12:38 +0000)]
add comment