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

5 years agowhoops, cut/paste from email resulted in weird EOL characters
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 12:34:44 +0000 (12:34 +0000)]
whoops, cut/paste from email resulted in weird EOL characters

5 years agoadd comment that i_data and o_data have to be added by user
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 12:30:35 +0000 (12:30 +0000)]
add comment that i_data and o_data have to be added by user

5 years agotidy up comments
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 12:27:31 +0000 (12:27 +0000)]
tidy up comments

5 years agoadd RecordBasedStage, PassThroughStage and RegisterPipeline classes
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 11:06:08 +0000 (11:06 +0000)]
add RecordBasedStage, PassThroughStage and RegisterPipeline classes

5 years agosplit out pipeline classes into singlepipe.py
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 09:17:16 +0000 (09:17 +0000)]
split out pipeline classes into singlepipe.py

5 years agoupdate comments
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 09:11:05 +0000 (09:11 +0000)]
update comments

5 years agoupdate comments
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 09:06:10 +0000 (09:06 +0000)]
update comments

5 years agorename MultiIn/Out to MultiIn/OutControlBase
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 09:04:44 +0000 (09:04 +0000)]
rename MultiIn/Out to MultiIn/OutControlBase

5 years agoupdate comments
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 08:49:10 +0000 (08:49 +0000)]
update comments

5 years agorename connect_in/out to _connect_in/out in multipipe
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 08:46:02 +0000 (08:46 +0000)]
rename connect_in/out to _connect_in/out in multipipe

5 years agoidentify test 9 code with comment
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 08:16:14 +0000 (08:16 +0000)]
identify test 9 code with comment

5 years ago2-chain pipeline doesnt need pipe instances to be members
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 08:15:36 +0000 (08:15 +0000)]
2-chain pipeline doesnt need pipe instances to be members

move to local variables

5 years agoreplace manual pipe-connection with a general-purpose ControlBase.connect
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 08:13:15 +0000 (08:13 +0000)]
replace manual pipe-connection with a general-purpose ControlBase.connect

5 years agoupdate comments
Luke Kenneth Casson Leighton [Wed, 27 Mar 2019 07:40:11 +0000 (07:40 +0000)]
update comments

5 years agoadd multi-out pipe module (untested)
Luke Kenneth Casson Leighton [Tue, 26 Mar 2019 14:23:25 +0000 (14:23 +0000)]
add multi-out pipe module (untested)

5 years agorename PipelineBase to MultiInControl in multi-input pipe
Luke Kenneth Casson Leighton [Tue, 26 Mar 2019 13:26:53 +0000 (13:26 +0000)]
rename PipelineBase to MultiInControl in multi-input pipe

5 years agodocument and clarify test cases for pipeline
Luke Kenneth Casson Leighton [Tue, 26 Mar 2019 13:26:34 +0000 (13:26 +0000)]
document and clarify test cases for pipeline

5 years agoadd abstract Stage classes, rename PipelineBase to ControlBase
Luke Kenneth Casson Leighton [Tue, 26 Mar 2019 13:15:52 +0000 (13:15 +0000)]
add abstract Stage classes, rename PipelineBase to ControlBase

5 years agocreate multipipe from former multi-input Pipeline
Luke Kenneth Casson Leighton [Tue, 26 Mar 2019 12:48:06 +0000 (12:48 +0000)]
create multipipe from former multi-input Pipeline

5 years agoderive ExampleBufPipe2 from PipelineBase
Luke Kenneth Casson Leighton [Tue, 26 Mar 2019 12:47:35 +0000 (12:47 +0000)]
derive ExampleBufPipe2 from PipelineBase

5 years agorevert multi-in / multi-out arrays, too messy
Luke Kenneth Casson Leighton [Tue, 26 Mar 2019 10:02:12 +0000 (10:02 +0000)]
revert multi-in / multi-out arrays, too messy

5 years agosmall tidyup of priority-encoding pipe mux
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 17:45:53 +0000 (17:45 +0000)]
small tidyup of priority-encoding pipe mux

5 years agohooray! got timing right (etc.) - required a sync mid field
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 17:24:14 +0000 (17:24 +0000)]
hooray!  got timing right (etc.) - required a sync mid field

5 years agotry sync with o_mid
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 15:46:13 +0000 (15:46 +0000)]
try sync with o_mid

5 years agosynchronisation of mid is not working
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 15:06:48 +0000 (15:06 +0000)]
synchronisation of mid is not working

5 years agoendeavouring to work out muxer logic
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 14:11:24 +0000 (14:11 +0000)]
endeavouring to work out muxer logic

5 years agodebugging input priority muxer
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 12:43:33 +0000 (12:43 +0000)]
debugging input priority muxer

5 years agoadd new priority multi-input mux example and test... sim failing
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 12:39:03 +0000 (12:39 +0000)]
add new priority multi-input mux example and test... sim failing

5 years agoexample_buf_pipe.py
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 10:35:23 +0000 (10:35 +0000)]
example_buf_pipe.py

p.o_ready needs to be set as a group, regardless of input mux

5 years agoremove temporary result variable in UnbufferedPipeline
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 08:32:35 +0000 (08:32 +0000)]
remove temporary result variable in UnbufferedPipeline

5 years agomake BufferedPipe r_data an array
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 08:19:52 +0000 (08:19 +0000)]
make BufferedPipe r_data an array

5 years agowhitespace
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 08:04:32 +0000 (08:04 +0000)]
whitespace

5 years agoget pipeline unit tests working for case where prev / next len is 1
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 06:44:19 +0000 (06:44 +0000)]
get pipeline unit tests working for case where prev / next len is 1

5 years agoinitial version of BufferedPipeline with multi-in and multi-out
Luke Kenneth Casson Leighton [Mon, 25 Mar 2019 06:30:02 +0000 (06:30 +0000)]
initial version of BufferedPipeline with multi-in and multi-out

5 years agoupdate docstrings
Luke Kenneth Casson Leighton [Sun, 24 Mar 2019 11:53:10 +0000 (11:53 +0000)]
update docstrings

5 years agodocument new Record spec: allow placeholder objects
Luke Kenneth Casson Leighton [Sun, 24 Mar 2019 10:57:17 +0000 (10:57 +0000)]
document new Record spec: allow placeholder objects

5 years agoadd beginnings of pipeline variant of FPADD
Luke Kenneth Casson Leighton [Sun, 24 Mar 2019 10:34:58 +0000 (10:34 +0000)]
add beginnings of pipeline variant of FPADD

5 years agoadd placeholder-variant pipeline stage of Record
Luke Kenneth Casson Leighton [Sun, 24 Mar 2019 10:34:40 +0000 (10:34 +0000)]
add placeholder-variant pipeline stage of Record

5 years agocomment out duplicate (bypass) put_z stage for now
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 11:31:03 +0000 (11:31 +0000)]
comment out duplicate (bypass) put_z stage for now

5 years agofinally got specialcases to pass through z down rest of pipeline
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 11:28:21 +0000 (11:28 +0000)]
finally got specialcases to pass through z down rest of pipeline

5 years agotrying to connect up pass-through outz
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 11:23:13 +0000 (11:23 +0000)]
trying to connect up pass-through outz

5 years agopass through oz to FPPack
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 11:03:12 +0000 (11:03 +0000)]
pass through oz to FPPack

5 years agoadd passing of z data from specialcases through next to out_do_z
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 10:59:54 +0000 (10:59 +0000)]
add passing of z data from specialcases through next to out_do_z

5 years agopass through out_do_z into FPPack
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 10:36:53 +0000 (10:36 +0000)]
pass through out_do_z into FPPack

5 years agoadd out_do_z to FPRound
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 10:10:43 +0000 (10:10 +0000)]
add out_do_z to FPRound

5 years agoadd Normalise out_do_z passthrough
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 10:04:45 +0000 (10:04 +0000)]
add Normalise out_do_z passthrough

5 years agoadd Stage1Add out_do_z passthrough
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 10:01:47 +0000 (10:01 +0000)]
add Stage1Add out_do_z passthrough

5 years agoadd Stage0Add out_do_z passthrough
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 09:59:12 +0000 (09:59 +0000)]
add Stage0Add out_do_z passthrough

5 years agoadd pass-through out_do_z to FPAlign
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 09:55:18 +0000 (09:55 +0000)]
add pass-through out_do_z to FPAlign

5 years agopass out_z and z through denorm
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 09:53:08 +0000 (09:53 +0000)]
pass out_z and z through denorm

5 years agopass output from specialcases through to denorm even if not handled
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 09:44:48 +0000 (09:44 +0000)]
pass output from specialcases through to denorm even if not handled

5 years agomove out_do_z to module
Luke Kenneth Casson Leighton [Sat, 23 Mar 2019 09:34:18 +0000 (09:34 +0000)]
move out_do_z to module