soc.git
5 years agoremove unneeded imports
Luke Kenneth Casson Leighton [Fri, 10 May 2019 05:09:10 +0000 (06:09 +0100)]
remove unneeded imports

5 years agomove code around to get set associative cache working
Luke Kenneth Casson Leighton [Fri, 10 May 2019 05:08:21 +0000 (06:08 +0100)]
move code around to get set associative cache working

5 years agoupdate cam test
Luke Kenneth Casson Leighton [Fri, 10 May 2019 05:02:50 +0000 (06:02 +0100)]
update cam test

5 years agoupdate pte test
Luke Kenneth Casson Leighton [Fri, 10 May 2019 05:01:42 +0000 (06:01 +0100)]
update pte test

5 years agoupdate perm validator test
Luke Kenneth Casson Leighton [Fri, 10 May 2019 05:00:46 +0000 (06:00 +0100)]
update perm validator test

5 years agoremove unneeded unit test
Luke Kenneth Casson Leighton [Fri, 10 May 2019 04:59:28 +0000 (05:59 +0100)]
remove unneeded unit test

5 years agofix imports in LFSR test
Luke Kenneth Casson Leighton [Fri, 10 May 2019 04:57:42 +0000 (05:57 +0100)]
fix imports in LFSR test

5 years agoupdate camentry unit test
Luke Kenneth Casson Leighton [Fri, 10 May 2019 04:56:51 +0000 (05:56 +0100)]
update camentry unit test

5 years agoadd src1/2 pending outputs
Luke Kenneth Casson Leighton [Fri, 10 May 2019 04:54:18 +0000 (05:54 +0100)]
add src1/2 pending outputs

5 years agoget scoreboard reasonably working
Luke Kenneth Casson Leighton [Thu, 9 May 2019 12:44:39 +0000 (13:44 +0100)]
get scoreboard reasonably working

5 years agodecode wrong way round on issue unit
Luke Kenneth Casson Leighton [Thu, 9 May 2019 11:20:32 +0000 (12:20 +0100)]
decode wrong way round on issue unit

5 years agoreduce ANDing chain (using NOR) in group picker
Luke Kenneth Casson Leighton [Thu, 9 May 2019 10:37:59 +0000 (11:37 +0100)]
reduce ANDing chain (using NOR) in group picker

5 years agofix logic-bug in group picker
Luke Kenneth Casson Leighton [Thu, 9 May 2019 08:26:48 +0000 (09:26 +0100)]
fix logic-bug in group picker

5 years agoadd python simulation of alu
Luke Kenneth Casson Leighton [Thu, 9 May 2019 01:34:28 +0000 (02:34 +0100)]
add python simulation of alu

5 years agomove sync from intpick to fn unit readable
Luke Kenneth Casson Leighton [Wed, 8 May 2019 16:41:20 +0000 (17:41 +0100)]
move sync from intpick to fn unit readable

5 years agomake readable_i sync, stops infinite loop
Luke Kenneth Casson Leighton [Wed, 8 May 2019 11:42:10 +0000 (12:42 +0100)]
make readable_i sync, stops infinite loop

5 years agoSRLatch not used in issue_unit
Luke Kenneth Casson Leighton [Wed, 8 May 2019 11:20:38 +0000 (12:20 +0100)]
SRLatch not used in issue_unit

5 years agoadd some more experimental instructions
Luke Kenneth Casson Leighton [Wed, 8 May 2019 11:12:22 +0000 (12:12 +0100)]
add some more experimental instructions

5 years agoadd some more experimental instructions
Luke Kenneth Casson Leighton [Wed, 8 May 2019 11:11:49 +0000 (12:11 +0100)]
add some more experimental instructions

5 years agodisable writethru for now
Luke Kenneth Casson Leighton [Wed, 8 May 2019 11:07:14 +0000 (12:07 +0100)]
disable writethru for now

5 years agodisable fpissue
Luke Kenneth Casson Leighton [Wed, 8 May 2019 11:06:55 +0000 (12:06 +0100)]
disable fpissue

5 years agomake SR Latch async again, make busy signal sync into issue unit
Luke Kenneth Casson Leighton [Wed, 8 May 2019 10:39:33 +0000 (11:39 +0100)]
make SR Latch async again, make busy signal sync into issue unit

5 years agorename variable wid -> dep
Luke Kenneth Casson Leighton [Wed, 8 May 2019 10:39:10 +0000 (11:39 +0100)]
rename variable wid -> dep

5 years agomake write latch sync in Function Unit
Luke Kenneth Casson Leighton [Wed, 8 May 2019 10:19:47 +0000 (11:19 +0100)]
make write latch sync in Function Unit

5 years agoadd decode out of src1 and src2 pending from FnUnit
Luke Kenneth Casson Leighton [Wed, 8 May 2019 09:52:19 +0000 (10:52 +0100)]
add decode out of src1 and src2 pending from FnUnit

5 years agoadd regfile array test
Luke Kenneth Casson Leighton [Wed, 8 May 2019 09:21:15 +0000 (10:21 +0100)]
add regfile array test

5 years agobegin debugging, temporary sync on issueunit
Luke Kenneth Casson Leighton [Wed, 8 May 2019 08:21:04 +0000 (09:21 +0100)]
begin debugging, temporary sync on issueunit

5 years agostart on unit test
Luke Kenneth Casson Leighton [Wed, 8 May 2019 07:50:11 +0000 (08:50 +0100)]
start on unit test

5 years agoconnect up ALUs
Luke Kenneth Casson Leighton [Wed, 8 May 2019 07:24:07 +0000 (08:24 +0100)]
connect up ALUs

5 years agowhoops connect enable / data correct way round in regfilearray
Luke Kenneth Casson Leighton [Wed, 8 May 2019 07:23:57 +0000 (08:23 +0100)]
whoops connect enable / data correct way round in regfilearray

5 years agoadd computational unit
Luke Kenneth Casson Leighton [Wed, 8 May 2019 07:22:49 +0000 (08:22 +0100)]
add computational unit

5 years agoadd register file connection
Luke Kenneth Casson Leighton [Wed, 8 May 2019 05:43:00 +0000 (06:43 +0100)]
add register file connection

5 years agoadd ORing of port inputs together
Luke Kenneth Casson Leighton [Wed, 8 May 2019 05:42:38 +0000 (06:42 +0100)]
add ORing of port inputs together

5 years agoconnect to integer global pending vectors
Luke Kenneth Casson Leighton [Wed, 8 May 2019 03:51:46 +0000 (04:51 +0100)]
connect to integer global pending vectors

5 years agoadd intpick connections
Luke Kenneth Casson Leighton [Wed, 8 May 2019 02:47:54 +0000 (03:47 +0100)]
add intpick connections

5 years agorename rel_req to req_rel
Luke Kenneth Casson Leighton [Wed, 8 May 2019 02:19:02 +0000 (03:19 +0100)]
rename rel_req to req_rel

5 years agoreplace go_read/go_write with go_rd/go_wr
Luke Kenneth Casson Leighton [Wed, 8 May 2019 02:12:49 +0000 (03:12 +0100)]
replace go_read/go_write with go_rd/go_wr

5 years agoconnect issue unit to function units
Luke Kenneth Casson Leighton [Wed, 8 May 2019 02:11:19 +0000 (03:11 +0100)]
connect issue unit to function units

5 years agostart wiring up issue unit
Luke Kenneth Casson Leighton [Wed, 8 May 2019 01:48:53 +0000 (02:48 +0100)]
start wiring up issue unit

5 years agoadd int fu-reg dep matrix
Luke Kenneth Casson Leighton [Wed, 8 May 2019 01:26:34 +0000 (02:26 +0100)]
add int fu-reg dep matrix

5 years agoadd names to read/write ports, add priority picker and other pieces
Luke Kenneth Casson Leighton [Wed, 8 May 2019 01:13:35 +0000 (02:13 +0100)]
add names to read/write ports, add priority picker and other pieces

5 years agobegin connecting units together
Luke Kenneth Casson Leighton [Wed, 8 May 2019 00:41:31 +0000 (01:41 +0100)]
begin connecting units together

5 years agoadd nmigen alu_hier to experiment
Luke Kenneth Casson Leighton [Tue, 7 May 2019 11:36:33 +0000 (12:36 +0100)]
add nmigen alu_hier to experiment

5 years agoadd a variant of a regfile that has individual read/write-enable lines
Luke Kenneth Casson Leighton [Tue, 7 May 2019 11:29:41 +0000 (12:29 +0100)]
add a variant of a regfile that has individual read/write-enable lines

5 years agoadd regfile.py
Luke Kenneth Casson Leighton [Tue, 7 May 2019 07:35:20 +0000 (08:35 +0100)]
add regfile.py

5 years agoupdate layout of test_helper.py
Luke Kenneth Casson Leighton [Tue, 7 May 2019 05:53:16 +0000 (06:53 +0100)]
update layout of test_helper.py

5 years ago simplify gitignore
Luke Kenneth Casson Leighton [Tue, 7 May 2019 05:51:45 +0000 (06:51 +0100)]
 simplify gitignore

5 years agoadd extra ignore files
Luke Kenneth Casson Leighton [Tue, 7 May 2019 05:51:00 +0000 (06:51 +0100)]
add extra ignore files

5 years agoadd IEEE754 FPU dependency
Luke Kenneth Casson Leighton [Tue, 7 May 2019 05:49:32 +0000 (06:49 +0100)]
add IEEE754 FPU dependency

5 years agoupdate setup.py (cookie-cut from ieee754fpu)
Luke Kenneth Casson Leighton [Tue, 7 May 2019 05:49:08 +0000 (06:49 +0100)]
update setup.py (cookie-cut from ieee754fpu)

5 years agoconvert test_address_encoder.py to nosetest3 compatibility
Luke Kenneth Casson Leighton [Tue, 7 May 2019 05:47:29 +0000 (06:47 +0100)]
convert test_address_encoder.py to nosetest3 compatibility

5 years agoadd __init__.py to scoreboard directory
Luke Kenneth Casson Leighton [Tue, 7 May 2019 05:45:10 +0000 (06:45 +0100)]
add __init__.py to scoreboard directory

5 years agoadd Makefile, setup.py, blank README and NEWS
Luke Kenneth Casson Leighton [Tue, 7 May 2019 05:44:13 +0000 (06:44 +0100)]
add Makefile, setup.py, blank README and NEWS

5 years agoreorg TLB src
Luke Kenneth Casson Leighton [Tue, 7 May 2019 05:42:28 +0000 (06:42 +0100)]
reorg TLB src

5 years agomove main python code to src directory
Luke Kenneth Casson Leighton [Tue, 7 May 2019 05:40:15 +0000 (06:40 +0100)]
move main python code to src directory

5 years agoadd scoreboard source (moving from ieee754fpu repo)
Luke Kenneth Casson Leighton [Tue, 7 May 2019 04:43:49 +0000 (05:43 +0100)]
add scoreboard source (moving from ieee754fpu repo)

5 years agoAdd test setup. It compiles
Daniel Benusovich [Sat, 4 May 2019 22:36:59 +0000 (15:36 -0700)]
Add test setup. It compiles

5 years agoAdd default platform
Daniel Benusovich [Sat, 4 May 2019 22:36:46 +0000 (15:36 -0700)]
Add default platform

5 years agoAdd plru test. Needs work.
Daniel Benusovich [Sat, 4 May 2019 20:49:13 +0000 (13:49 -0700)]
Add plru test. Needs work.

5 years agoMove files into correct folders within ariane
Daniel Benusovich [Sat, 4 May 2019 20:48:58 +0000 (13:48 -0700)]
Move files into correct folders within ariane

5 years agowhitespace
Luke Kenneth Casson Leighton [Fri, 26 Apr 2019 10:56:27 +0000 (11:56 +0100)]
whitespace

5 years agoadded comments in AddressEncoder.py
rishucoding [Fri, 26 Apr 2019 09:48:08 +0000 (15:18 +0530)]
added comments in AddressEncoder.py

5 years agoadd some use of new "Elaboratable"
Luke Kenneth Casson Leighton [Tue, 23 Apr 2019 08:35:08 +0000 (09:35 +0100)]
add some use of new "Elaboratable"

5 years agorename LFSR2 to LFSR in test_LFSR2.py
Luke Kenneth Casson Leighton [Tue, 23 Apr 2019 08:31:48 +0000 (09:31 +0100)]
rename LFSR2 to LFSR in test_LFSR2.py

5 years agoadd Elaboratable to LFSR2
Luke Kenneth Casson Leighton [Tue, 23 Apr 2019 08:30:06 +0000 (09:30 +0100)]
add Elaboratable to LFSR2

5 years agocomment about max_exponent, remove its use: use python slice [:-1]
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 20:58:26 +0000 (21:58 +0100)]
comment about max_exponent, remove its use: use python slice [:-1]
slice [:-1] is the python way to not need explicit length
it is already in self.state, so no need to do self.max_exponent-1
just use -1

5 years agoMove MemorySet into separate file
Daniel Benusovich [Tue, 23 Apr 2019 04:45:58 +0000 (21:45 -0700)]
Move MemorySet into separate file

5 years agoUpdate SAC to use new LFSR import
Daniel Benusovich [Tue, 23 Apr 2019 04:42:19 +0000 (21:42 -0700)]
Update SAC to use new LFSR import

5 years agoReplace LFSR with better version
Daniel Benusovich [Tue, 23 Apr 2019 04:41:45 +0000 (21:41 -0700)]
Replace LFSR with better version

5 years agoremove width, use max_exponent instead
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 20:55:41 +0000 (21:55 +0100)]
remove width, use max_exponent instead

5 years agoderive LFSR from LFSRPolynomial - cut even more code
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 20:54:47 +0000 (21:54 +0100)]
derive LFSR from LFSRPolynomial - cut even more code

5 years agoadd a link to cachesim.py
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 19:53:29 +0000 (20:53 +0100)]
add a link to cachesim.py

5 years agoadd link to online simulator
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 19:43:26 +0000 (20:43 +0100)]
add link to online simulator

5 years agoadd link to online simulator
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 19:42:12 +0000 (20:42 +0100)]
add link to online simulator

5 years agoreduce LFSR2.__init__ by another 2 lines
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 16:03:23 +0000 (17:03 +0100)]
reduce LFSR2.__init__ by another 2 lines

5 years agomore whitespace / shuffle / cleanup
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 15:50:17 +0000 (16:50 +0100)]
more whitespace / shuffle / cleanup

5 years agominor code-shuffle, comments
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 15:47:33 +0000 (16:47 +0100)]
minor code-shuffle, comments

5 years agouse random selection for LFSR on write
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 15:37:40 +0000 (16:37 +0100)]
use random selection for LFSR on write

5 years agowrite_entry, sef encoder.i has to be *conditional*
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 15:21:25 +0000 (16:21 +0100)]
write_entry, sef encoder.i has to be *conditional*

5 years agosort-of put LFSR mode into SetAssocCache... not really sure what to do
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 15:08:49 +0000 (16:08 +0100)]
sort-of put LFSR mode into SetAssocCache... not really sure what to do

5 years agomove max_exponent to be a property (max(self))
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 12:53:47 +0000 (13:53 +0100)]
move max_exponent to be a property (max(self))
replace if tests with assert (single lines each)
remove self.max_exponent test on every element, use max(self) as property
set-ify the incoming argument exponents and add zero explicitly to it
pass that in to the set constructor, no need for accumulating in a temporary

5 years agouse a set not a list, can remove an extra line
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 12:34:53 +0000 (13:34 +0100)]
use a set not a list, can remove an extra line
also, spotted that width will always be 1 or greater

5 years agosimplify further,use max() on elements
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 12:29:50 +0000 (13:29 +0100)]
simplify further,use max() on elements
remove function, use elements=[0] to accumulate exponents

5 years agoreplace if elif elif with dictionary trick, and map-plus-lambda
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 11:14:42 +0000 (12:14 +0100)]
replace if elif elif with dictionary trick, and map-plus-lambda

5 years agowhitespace
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 11:09:31 +0000 (12:09 +0100)]
whitespace

5 years agoadd docstrings and comments
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 11:08:04 +0000 (12:08 +0100)]
add docstrings and comments
pass in LFSR_POLY_24 into example rather than the list

5 years agoskip the entire thing if width is zero
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 10:49:02 +0000 (11:49 +0100)]
skip the entire thing if width is zero
simplify creation of feedback: use Cat(feedback, statebits)
add test code-generation

5 years agoremove redundant Signal width=1
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 10:31:30 +0000 (11:31 +0100)]
remove redundant Signal width=1

5 years agoremove property polynomial
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 10:30:40 +0000 (11:30 +0100)]
remove property polynomial
(why assign __polynomial then add extra code where property polynomial
*returns* __polynomial?  just... assign polynomial to self)

5 years agoLFSR2.pyi, type is set not frozenset, exponents returns list
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 10:27:50 +0000 (11:27 +0100)]
LFSR2.pyi, type is set not frozenset, exponents returns list

5 years agoadd error reports on exceptions in LFSR2
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 10:26:00 +0000 (11:26 +0100)]
add error reports on exceptions in LFSR2

5 years agouse set instead of frozenset
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 10:25:35 +0000 (11:25 +0100)]
use set instead of frozenset
return sorted  list from exponents property
join operates on strings (not the list)
simplify __repr__

5 years agouse join trick instead of manually creating the exponent string
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 10:10:04 +0000 (11:10 +0100)]
use join trick instead of manually creating the exponent string

5 years agoinstead of using abstract class Set, actually *derive* from frozenset
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 10:07:01 +0000 (11:07 +0100)]
instead of using abstract class Set, actually *derive* from frozenset
(which was not possible to do in python2): can remove 25% of LFSR2.py in
the process.  also made max_exponent just a member of LFSR2 instead of
being a property (no need for __max_exponent when max_exponent is what
is needed and can be assigned then accessed directly)

5 years agoremove typing, move to .pyi file (increases code clarity)
Luke Kenneth Casson Leighton [Mon, 22 Apr 2019 09:58:28 +0000 (10:58 +0100)]
remove typing, move to .pyi file (increases code clarity)

5 years agoMerge remote-tracking branch 'origin/master'
Jacob Lifshay [Mon, 22 Apr 2019 07:47:08 +0000 (00:47 -0700)]
Merge remote-tracking branch 'origin/master'

5 years agorename LFSR -> LFSR2
Jacob Lifshay [Mon, 22 Apr 2019 07:46:45 +0000 (00:46 -0700)]
rename LFSR -> LFSR2

5 years agoadd LFSR
Jacob Lifshay [Mon, 22 Apr 2019 07:41:42 +0000 (00:41 -0700)]
add LFSR

5 years agoadd empty __init__.py files
Jacob Lifshay [Mon, 22 Apr 2019 07:40:04 +0000 (00:40 -0700)]
add empty __init__.py files

5 years agoadd waveforms dir to git, ignoring all but .gitkeep
Jacob Lifshay [Mon, 22 Apr 2019 07:25:28 +0000 (00:25 -0700)]
add waveforms dir to git, ignoring all but .gitkeep