soc.git
4 years agoturn experimental ALU into array-input
Luke Kenneth Casson Leighton [Tue, 14 Apr 2020 20:28:38 +0000 (21:28 +0100)]
turn experimental ALU into array-input

4 years agowhoops missed for-loop on fu-reg-multi
Luke Kenneth Casson Leighton [Tue, 14 Apr 2020 20:05:40 +0000 (21:05 +0100)]
whoops missed for-loop on fu-reg-multi

4 years agorename multi modules
Luke Kenneth Casson Leighton [Tue, 14 Apr 2020 18:34:53 +0000 (19:34 +0100)]
rename multi modules

4 years agomove scoreboard multi rd/wr to new folder
Luke Kenneth Casson Leighton [Tue, 14 Apr 2020 18:31:57 +0000 (19:31 +0100)]
move scoreboard multi rd/wr to new folder

4 years agoadd multi version of memfu matrix
Luke Kenneth Casson Leighton [Tue, 14 Apr 2020 18:29:47 +0000 (19:29 +0100)]
add multi version of memfu matrix

4 years agoadd scoreboard fu-fu matrix with multi gord/wr
Luke Kenneth Casson Leighton [Tue, 14 Apr 2020 17:43:26 +0000 (18:43 +0100)]
add scoreboard fu-fu matrix with multi gord/wr

4 years agoadd fu-fu multi-rd/wr dep cell
Luke Kenneth Casson Leighton [Tue, 14 Apr 2020 17:25:33 +0000 (18:25 +0100)]
add fu-fu multi-rd/wr dep cell

4 years agoscoreboard go_wr/go_wr multi-signal
Luke Kenneth Casson Leighton [Tue, 14 Apr 2020 12:59:12 +0000 (13:59 +0100)]
scoreboard go_wr/go_wr multi-signal

4 years agoadd first cut of variants that have multi-dest and multi-rd/wr flags
Luke Kenneth Casson Leighton [Tue, 14 Apr 2020 12:52:09 +0000 (13:52 +0100)]
add first cut of variants that have multi-dest and multi-rd/wr flags

4 years agodep cell src2_rsel_o replaced by src_rsel_o array
Luke Kenneth Casson Leighton [Mon, 13 Apr 2020 20:31:42 +0000 (21:31 +0100)]
dep cell src2_rsel_o replaced by src_rsel_o array

4 years agospelling mistake
Luke Kenneth Casson Leighton [Sat, 11 Apr 2020 19:57:29 +0000 (20:57 +0100)]
spelling mistake

4 years agoholy cow, decode and run instruction works!
Luke Kenneth Casson Leighton [Sat, 11 Apr 2020 11:15:07 +0000 (12:15 +0100)]
holy cow, decode and run instruction works!

4 years agoadd basic comment / docstring on program.py
Luke Kenneth Casson Leighton [Sat, 11 Apr 2020 10:41:42 +0000 (11:41 +0100)]
add basic comment / docstring on program.py

4 years agotest additional instructions
Luke Kenneth Casson Leighton [Sat, 11 Apr 2020 10:32:44 +0000 (11:32 +0100)]
test additional instructions

4 years agopass and lock immediate in
Luke Kenneth Casson Leighton [Sat, 11 Apr 2020 09:26:13 +0000 (10:26 +0100)]
pass and lock immediate in

4 years agoadding immediates, tracking down a bug
Luke Kenneth Casson Leighton [Sat, 11 Apr 2020 08:53:51 +0000 (09:53 +0100)]
adding immediates, tracking down a bug

4 years agoadding immediates, tracking down a bug
Luke Kenneth Casson Leighton [Sat, 11 Apr 2020 08:53:24 +0000 (09:53 +0100)]
adding immediates, tracking down a bug

4 years agoUpdate libreriscv to fix test_mtcrf
Michael Nolan [Fri, 10 Apr 2020 17:55:01 +0000 (13:55 -0400)]
Update libreriscv to fix test_mtcrf

4 years agoconnect up ALU properly to pass full InternalOp subset over, MUL now works
Luke Kenneth Casson Leighton [Fri, 10 Apr 2020 16:07:07 +0000 (17:07 +0100)]
connect up ALU properly to pass full InternalOp subset over, MUL now works

4 years agoadd 2nd add instruction to see what happens (success)
Luke Kenneth Casson Leighton [Fri, 10 Apr 2020 14:59:44 +0000 (15:59 +0100)]
add 2nd add instruction to see what happens (success)

4 years agoeek, first cut at using POWER decoder2 in 6600 simulator, barely working
Luke Kenneth Casson Leighton [Fri, 10 Apr 2020 14:51:19 +0000 (15:51 +0100)]
eek, first cut at using POWER decoder2 in 6600 simulator, barely working
but at least working!

4 years agowhoops syntax error
Luke Kenneth Casson Leighton [Fri, 10 Apr 2020 14:04:41 +0000 (15:04 +0100)]
whoops syntax error

4 years agoconverting InstructionQ to use Decode2ToExecuteType
Luke Kenneth Casson Leighton [Fri, 10 Apr 2020 12:57:12 +0000 (13:57 +0100)]
converting InstructionQ to use Decode2ToExecuteType
needed to convert Decode2ToExecuteType to use RecordObject

4 years agoadd eq_from_execute1 subset function
Luke Kenneth Casson Leighton [Fri, 10 Apr 2020 12:34:51 +0000 (13:34 +0100)]
add eq_from_execute1 subset function

4 years agoget CompUnitALU test running with InternalOp ALU subset
Luke Kenneth Casson Leighton [Thu, 9 Apr 2020 15:33:13 +0000 (16:33 +0100)]
get CompUnitALU test running with InternalOp ALU subset

4 years agoexperiment morphing ALU to take subset of Decode2ToExecute1
Luke Kenneth Casson Leighton [Thu, 9 Apr 2020 12:57:29 +0000 (13:57 +0100)]
experiment morphing ALU to take subset of Decode2ToExecute1

4 years agofix 'Object is not an nMigen signal' error in test_sim.py
Tobias Platen [Thu, 9 Apr 2020 09:12:34 +0000 (11:12 +0200)]
fix 'Object is not an nMigen signal' error in test_sim.py

4 years agopass InternalOp through to CompUnit ALU
Luke Kenneth Casson Leighton [Wed, 8 Apr 2020 15:25:44 +0000 (16:25 +0100)]
pass InternalOp through to CompUnit ALU

4 years agowhoops realised src1/2 need to receive reg data, not reg #
Luke Kenneth Casson Leighton [Wed, 8 Apr 2020 14:54:09 +0000 (15:54 +0100)]
whoops realised src1/2 need to receive reg data, not reg #

4 years agouse power decoder InternalOp
Luke Kenneth Casson Leighton [Wed, 8 Apr 2020 14:48:48 +0000 (15:48 +0100)]
use power decoder InternalOp

4 years agostart using power decoder in 6600 comp units
Luke Kenneth Casson Leighton [Wed, 8 Apr 2020 13:46:32 +0000 (14:46 +0100)]
start using power decoder in 6600 comp units

4 years agoconvert power_decoder2 Data to Record-based
Luke Kenneth Casson Leighton [Wed, 8 Apr 2020 12:00:34 +0000 (13:00 +0100)]
convert power_decoder2 Data to Record-based

4 years agoabsolute imports
Luke Kenneth Casson Leighton [Wed, 8 Apr 2020 10:48:03 +0000 (11:48 +0100)]
absolute imports

4 years agotry making CR bitrange 32..63 not 0..31
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 18:46:03 +0000 (19:46 +0100)]
try making CR bitrange 32..63 not 0..31

4 years agonote that CR must be offset by 32
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 18:27:15 +0000 (19:27 +0100)]
note that CR must be offset by 32

4 years agosubmodule update
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 18:25:49 +0000 (19:25 +0100)]
submodule update

4 years agoadd "undefined" to namespace
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 18:13:38 +0000 (19:13 +0100)]
add "undefined" to namespace

4 years agoCR test "working" (for a given value of "success")
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 18:11:36 +0000 (19:11 +0100)]
CR test "working" (for a given value of "success")

4 years agoadd in special regs to be passed out of function (as return results)
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 16:49:46 +0000 (17:49 +0100)]
add in special regs to be passed out of function (as return results)

4 years agoattempting to add mtcrf test, requires bringing CR and other regs into ops
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 16:27:41 +0000 (17:27 +0100)]
attempting to add mtcrf test, requires bringing CR and other regs into ops

4 years agowhoops off-by-one in slice ranges
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 16:12:08 +0000 (17:12 +0100)]
whoops off-by-one in slice ranges

4 years agoupdate submodules
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 16:01:06 +0000 (17:01 +0100)]
update submodules

4 years agoop_fields is passed over (and excludes register names)
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 15:54:50 +0000 (16:54 +0100)]
op_fields is passed over (and excludes register names)

4 years agoadd CR and add field-selectable versions of CR0-7
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 14:37:35 +0000 (15:37 +0100)]
add CR and add field-selectable versions of CR0-7

4 years agocomment not to do bit-inversion here
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 14:37:11 +0000 (15:37 +0100)]
comment not to do bit-inversion here

4 years agoadd setitem/getitem to FieldSelectableInt, and mod operator
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 14:35:30 +0000 (15:35 +0100)]
add setitem/getitem to FieldSelectableInt, and mod operator

4 years agoallow FieldSelectableInt to initialise from list or tuple
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 14:30:26 +0000 (15:30 +0100)]
allow FieldSelectableInt to initialise from list or tuple

4 years agoadd FieldSelectableInt which allows re-targetting of fields
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 14:26:52 +0000 (15:26 +0100)]
add FieldSelectableInt which allows re-targetting of fields

4 years agowhew finally located opcodes for managing CRs
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 11:09:19 +0000 (12:09 +0100)]
whew finally located opcodes for managing CRs

4 years agofix apt cache
Jacob Lifshay [Tue, 7 Apr 2020 00:15:31 +0000 (17:15 -0700)]
fix apt cache

4 years agoupdate libreriscv submodule
Jacob Lifshay [Mon, 6 Apr 2020 23:58:25 +0000 (16:58 -0700)]
update libreriscv submodule

4 years agoMerge branch 'master' of ssh://git.libre-riscv.org:922/soc
Jacob Lifshay [Mon, 6 Apr 2020 23:56:31 +0000 (16:56 -0700)]
Merge branch 'master' of ssh://git.libre-riscv.org:922/soc

4 years agoadd extra info on SPRs
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 21:08:35 +0000 (22:08 +0100)]
add extra info on SPRs

4 years agoupdate submodule
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 21:03:30 +0000 (22:03 +0100)]
update submodule

4 years agoadd list of SPRs needed
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 21:03:21 +0000 (22:03 +0100)]
add list of SPRs needed

4 years agoMerge branch 'fix-tests'
Jacob Lifshay [Mon, 6 Apr 2020 19:00:27 +0000 (12:00 -0700)]
Merge branch 'fix-tests'

4 years agoConvert instruction info from tuple to namedtuple
Michael Nolan [Mon, 6 Apr 2020 13:26:02 +0000 (09:26 -0400)]
Convert instruction info from tuple to namedtuple

4 years agoAdd test for addpcis
Michael Nolan [Mon, 6 Apr 2020 13:15:33 +0000 (09:15 -0400)]
Add test for addpcis

4 years agoBegin adding PC to caller.py
Michael Nolan [Mon, 6 Apr 2020 13:15:08 +0000 (09:15 -0400)]
Begin adding PC to caller.py

4 years agoFix broken tests from parser update
Michael Nolan [Mon, 6 Apr 2020 13:14:39 +0000 (09:14 -0400)]
Fix broken tests from parser update

4 years agoAuto insert instruction fields into the namespace
Michael Nolan [Sun, 5 Apr 2020 23:28:12 +0000 (19:28 -0400)]
Auto insert instruction fields into the namespace

4 years agowhoops swap regs and form
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 12:56:33 +0000 (13:56 +0100)]
whoops swap regs and form

4 years agosplit regs by comma into list
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 12:56:20 +0000 (13:56 +0100)]
split regs by comma into list

4 years agowhoops missing final newline, needed for parser to end
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 12:48:26 +0000 (13:48 +0100)]
whoops missing final newline, needed for parser to end

4 years agoskip blank lines between cases
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 12:45:25 +0000 (13:45 +0100)]
skip blank lines between cases

4 years agoadd annoying case-hack filter
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 12:33:56 +0000 (13:33 +0100)]
add annoying case-hack filter

4 years agoadd individual field-detection where field spec is "d0,d1,d2"
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 11:15:28 +0000 (12:15 +0100)]
add individual field-detection where field spec is "d0,d1,d2"

4 years agoadd apt-cache dir
Jacob Lifshay [Mon, 6 Apr 2020 02:08:22 +0000 (19:08 -0700)]
add apt-cache dir

4 years agofix apt cache
Jacob Lifshay [Mon, 6 Apr 2020 02:01:40 +0000 (19:01 -0700)]
fix apt cache

4 years agoadd pip and apt to gitlab cache
Jacob Lifshay [Mon, 6 Apr 2020 01:53:14 +0000 (18:53 -0700)]
add pip and apt to gitlab cache

4 years agoall tests pass!
Jacob Lifshay [Mon, 6 Apr 2020 01:20:20 +0000 (18:20 -0700)]
all tests pass!

4 years agoadd symbiyosys to ci
Jacob Lifshay [Mon, 6 Apr 2020 01:02:34 +0000 (18:02 -0700)]
add symbiyosys to ci

4 years agoadd git submodules to CI
Jacob Lifshay [Mon, 6 Apr 2020 00:39:30 +0000 (17:39 -0700)]
add git submodules to CI

4 years agoadd missing packages
Jacob Lifshay [Mon, 6 Apr 2020 00:26:04 +0000 (17:26 -0700)]
add missing packages

4 years agoalmost all tests work
Jacob Lifshay [Mon, 6 Apr 2020 00:12:20 +0000 (17:12 -0700)]
almost all tests work

4 years agoadd .gitlab-ci.yml
Jacob Lifshay [Sun, 5 Apr 2020 22:44:49 +0000 (15:44 -0700)]
add .gitlab-ci.yml

4 years agouse fields.txt as the local file name and add to gitignore
Jacob Lifshay [Sun, 5 Apr 2020 22:21:23 +0000 (15:21 -0700)]
use fields.txt as the local file name and add to gitignore

4 years agoRevert "rename fields.text to use standard .txt file extension and add to gitignore"
Jacob Lifshay [Sun, 5 Apr 2020 21:59:55 +0000 (14:59 -0700)]
Revert "rename fields.text to use standard .txt file extension and add to gitignore"

server doesn't work with .txt files

This reverts commit 334c2ed237e3cb5fe66a782afaa2354d577841ba.

4 years agorename fields.text to use standard .txt file extension and add to gitignore
Jacob Lifshay [Sun, 5 Apr 2020 21:52:41 +0000 (14:52 -0700)]
rename fields.text to use standard .txt file extension and add to gitignore

4 years agoput regs through to ISACaller
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 20:51:16 +0000 (21:51 +0100)]
put regs through to ISACaller

4 years agoupdate submodule
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 20:15:42 +0000 (21:15 +0100)]
update submodule

4 years agoupdate submodule
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 20:12:55 +0000 (21:12 +0100)]
update submodule

4 years agogot fed up of hard-coded names, allow pywriter.py to take arguments
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 20:12:38 +0000 (21:12 +0100)]
got fed up of hard-coded names, allow pywriter.py to take arguments

4 years agoadd comment about form / op_fields
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 20:03:07 +0000 (21:03 +0100)]
add comment about form / op_fields

4 years agounpack tuple with new op_fields
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 19:55:21 +0000 (20:55 +0100)]
unpack tuple with new op_fields

4 years agoadd Form name parsing
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 19:45:25 +0000 (20:45 +0100)]
add Form name parsing

4 years agoAutogenerate all.py
Michael Nolan [Sun, 5 Apr 2020 19:41:23 +0000 (15:41 -0400)]
Autogenerate all.py

4 years agoHandle new changes in pseudocode parser
Michael Nolan [Sun, 5 Apr 2020 19:26:20 +0000 (15:26 -0400)]
Handle new changes in pseudocode parser

4 years agoHandle opcodes returning EXTS() results
Michael Nolan [Sun, 5 Apr 2020 19:25:51 +0000 (15:25 -0400)]
Handle opcodes returning EXTS() results

4 years agoFix bug 281
Michael Nolan [Sun, 5 Apr 2020 19:17:58 +0000 (15:17 -0400)]
Fix bug 281

4 years agoeffort to get base class instructions automatically
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 19:14:35 +0000 (20:14 +0100)]
effort to get base class instructions automatically

4 years agoAdd in _reg and immediate support
Michael Nolan [Sun, 5 Apr 2020 19:11:49 +0000 (15:11 -0400)]
Add in _reg and immediate support

4 years agoFix issue with memory load/store byte order
Michael Nolan [Sun, 5 Apr 2020 19:11:27 +0000 (15:11 -0400)]
Fix issue with memory load/store byte order

4 years agoFix not being able to use all instructions in ISA class
Michael Nolan [Sun, 5 Apr 2020 19:10:43 +0000 (15:10 -0400)]
Fix not being able to use all instructions in ISA class

4 years agoremove ISACaller as base class, do in soc.decoder.isa.ISA
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 19:04:54 +0000 (20:04 +0100)]
remove ISACaller as base class, do in soc.decoder.isa.ISA

4 years agoget hex to recognise capitals
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 19:03:14 +0000 (20:03 +0100)]
get hex to recognise capitals

4 years agosubmodule update
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 18:59:34 +0000 (19:59 +0100)]
submodule update

4 years agoadd printout of instruction Form
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 18:59:25 +0000 (19:59 +0100)]
add printout of instruction Form

4 years agodrop instr info into uniquely-named dict
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 18:54:30 +0000 (19:54 +0100)]
drop instr info into uniquely-named dict

4 years agoRevert "Implement bug 278, comment 1 - better version of EXTS"
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 18:42:06 +0000 (19:42 +0100)]
Revert "Implement bug 278, comment 1 - better version of EXTS"

This reverts commit b5e4e847c2841189386da3509949d9206de92f8b.