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 #
Luke Kenneth Casson Leighton [Wed, 8 Apr 2020 14:48:48 +0000 (15:48 +0100)]
use power decoder InternalOp
Luke Kenneth Casson Leighton [Wed, 8 Apr 2020 13:46:32 +0000 (14:46 +0100)]
start using power decoder in 6600 comp units
Luke Kenneth Casson Leighton [Wed, 8 Apr 2020 12:00:34 +0000 (13:00 +0100)]
convert power_decoder2 Data to Record-based
Luke Kenneth Casson Leighton [Wed, 8 Apr 2020 10:48:03 +0000 (11:48 +0100)]
absolute imports
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 18:46:03 +0000 (19:46 +0100)]
try making CR bitrange 32..63 not 0..31
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 18:27:15 +0000 (19:27 +0100)]
note that CR must be offset by 32
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 18:25:49 +0000 (19:25 +0100)]
submodule update
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 18:13:38 +0000 (19:13 +0100)]
add "undefined" to namespace
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 18:11:36 +0000 (19:11 +0100)]
CR test "working" (for a given value of "success")
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)
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
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 16:12:08 +0000 (17:12 +0100)]
whoops off-by-one in slice ranges
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 16:01:06 +0000 (17:01 +0100)]
update submodules
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 15:54:50 +0000 (16:54 +0100)]
op_fields is passed over (and excludes register names)
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
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 14:37:11 +0000 (15:37 +0100)]
comment not to do bit-inversion here
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 14:35:30 +0000 (15:35 +0100)]
add setitem/getitem to FieldSelectableInt, and mod operator
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 14:30:26 +0000 (15:30 +0100)]
allow FieldSelectableInt to initialise from list or tuple
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 14:26:52 +0000 (15:26 +0100)]
add FieldSelectableInt which allows re-targetting of fields
Luke Kenneth Casson Leighton [Tue, 7 Apr 2020 11:09:19 +0000 (12:09 +0100)]
whew finally located opcodes for managing CRs
Jacob Lifshay [Tue, 7 Apr 2020 00:15:31 +0000 (17:15 -0700)]
fix apt cache
Jacob Lifshay [Mon, 6 Apr 2020 23:58:25 +0000 (16:58 -0700)]
update libreriscv submodule
Jacob Lifshay [Mon, 6 Apr 2020 23:56:31 +0000 (16:56 -0700)]
Merge branch 'master' of ssh://git.libre-riscv.org:922/soc
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 21:08:35 +0000 (22:08 +0100)]
add extra info on SPRs
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 21:03:30 +0000 (22:03 +0100)]
update submodule
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 21:03:21 +0000 (22:03 +0100)]
add list of SPRs needed
Jacob Lifshay [Mon, 6 Apr 2020 19:00:27 +0000 (12:00 -0700)]
Merge branch 'fix-tests'
Michael Nolan [Mon, 6 Apr 2020 13:26:02 +0000 (09:26 -0400)]
Convert instruction info from tuple to namedtuple
Michael Nolan [Mon, 6 Apr 2020 13:15:33 +0000 (09:15 -0400)]
Add test for addpcis
Michael Nolan [Mon, 6 Apr 2020 13:15:08 +0000 (09:15 -0400)]
Begin adding PC to caller.py
Michael Nolan [Mon, 6 Apr 2020 13:14:39 +0000 (09:14 -0400)]
Fix broken tests from parser update
Michael Nolan [Sun, 5 Apr 2020 23:28:12 +0000 (19:28 -0400)]
Auto insert instruction fields into the namespace
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 12:56:33 +0000 (13:56 +0100)]
whoops swap regs and form
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 12:56:20 +0000 (13:56 +0100)]
split regs by comma into list
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 12:48:26 +0000 (13:48 +0100)]
whoops missing final newline, needed for parser to end
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 12:45:25 +0000 (13:45 +0100)]
skip blank lines between cases
Luke Kenneth Casson Leighton [Mon, 6 Apr 2020 12:33:56 +0000 (13:33 +0100)]
add annoying case-hack filter
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"
Jacob Lifshay [Mon, 6 Apr 2020 02:08:22 +0000 (19:08 -0700)]
add apt-cache dir
Jacob Lifshay [Mon, 6 Apr 2020 02:01:40 +0000 (19:01 -0700)]
fix apt cache
Jacob Lifshay [Mon, 6 Apr 2020 01:53:14 +0000 (18:53 -0700)]
add pip and apt to gitlab cache
Jacob Lifshay [Mon, 6 Apr 2020 01:20:20 +0000 (18:20 -0700)]
all tests pass!
Jacob Lifshay [Mon, 6 Apr 2020 01:02:34 +0000 (18:02 -0700)]
add symbiyosys to ci
Jacob Lifshay [Mon, 6 Apr 2020 00:39:30 +0000 (17:39 -0700)]
add git submodules to CI
Jacob Lifshay [Mon, 6 Apr 2020 00:26:04 +0000 (17:26 -0700)]
add missing packages
Jacob Lifshay [Mon, 6 Apr 2020 00:12:20 +0000 (17:12 -0700)]
almost all tests work
Jacob Lifshay [Sun, 5 Apr 2020 22:44:49 +0000 (15:44 -0700)]
add .gitlab-ci.yml
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
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.
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
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 20:51:16 +0000 (21:51 +0100)]
put regs through to ISACaller
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 20:15:42 +0000 (21:15 +0100)]
update submodule
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 20:12:55 +0000 (21:12 +0100)]
update submodule
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
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 20:03:07 +0000 (21:03 +0100)]
add comment about form / op_fields
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 19:55:21 +0000 (20:55 +0100)]
unpack tuple with new op_fields
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 19:45:25 +0000 (20:45 +0100)]
add Form name parsing
Michael Nolan [Sun, 5 Apr 2020 19:41:23 +0000 (15:41 -0400)]
Autogenerate all.py
Michael Nolan [Sun, 5 Apr 2020 19:26:20 +0000 (15:26 -0400)]
Handle new changes in pseudocode parser
Michael Nolan [Sun, 5 Apr 2020 19:25:51 +0000 (15:25 -0400)]
Handle opcodes returning EXTS() results
Michael Nolan [Sun, 5 Apr 2020 19:17:58 +0000 (15:17 -0400)]
Fix bug 281
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 19:14:35 +0000 (20:14 +0100)]
effort to get base class instructions automatically
Michael Nolan [Sun, 5 Apr 2020 19:11:49 +0000 (15:11 -0400)]
Add in _reg and immediate support
Michael Nolan [Sun, 5 Apr 2020 19:11:27 +0000 (15:11 -0400)]
Fix issue with memory load/store byte order
Michael Nolan [Sun, 5 Apr 2020 19:10:43 +0000 (15:10 -0400)]
Fix not being able to use all instructions in ISA class
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
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 19:03:14 +0000 (20:03 +0100)]
get hex to recognise capitals
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 18:59:34 +0000 (19:59 +0100)]
submodule update
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 18:59:25 +0000 (19:59 +0100)]
add printout of instruction Form
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 18:54:30 +0000 (19:54 +0100)]
drop instr info into uniquely-named dict
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.
Michael Nolan [Sun, 5 Apr 2020 18:31:48 +0000 (14:31 -0400)]
Implement bug 278, comment 1 - better version of EXTS
Michael Nolan [Sun, 5 Apr 2020 18:25:13 +0000 (14:25 -0400)]
Move combination class out of __init__
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 18:16:18 +0000 (19:16 +0100)]
add HEX to parser
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 18:16:05 +0000 (19:16 +0100)]
fix repr (0x prefix) and add repr test for selectable int
Michael Nolan [Sun, 5 Apr 2020 18:00:44 +0000 (14:00 -0400)]
Fix addi instruction, think a commit got lost
Michael Nolan [Sun, 5 Apr 2020 17:59:40 +0000 (13:59 -0400)]
Add class for combining multiple instruction classes
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 16:46:33 +0000 (17:46 +0100)]
update submodule
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 16:43:29 +0000 (17:43 +0100)]
update submodule
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 16:43:14 +0000 (17:43 +0100)]
add SPR rework from SPR(x) to SPR[x]
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 16:40:19 +0000 (17:40 +0100)]
update submodule
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 16:40:01 +0000 (17:40 +0100)]
construct switch/case/default from if/elif/elif/else
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 16:05:43 +0000 (17:05 +0100)]
add start on switch/case/default in parser
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 15:12:47 +0000 (16:12 +0100)]
submodule update
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 14:56:13 +0000 (15:56 +0100)]
case and default do not need implicit colon
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 14:32:49 +0000 (15:32 +0100)]
add switch case and default keywords
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 12:22:37 +0000 (13:22 +0100)]
update submodule
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 12:07:00 +0000 (13:07 +0100)]
fix issue with subscript uninitialised detection
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 11:52:01 +0000 (12:52 +0100)]
allow [s] * 64 to be detected and turned into a repeat-list pattern
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 11:46:48 +0000 (12:46 +0100)]
update submodule
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 11:46:39 +0000 (12:46 +0100)]
test trap, shift and condition
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 11:46:24 +0000 (12:46 +0100)]
add selectconcat test
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 11:37:18 +0000 (12:37 +0100)]
update submodule
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 11:04:35 +0000 (12:04 +0100)]
update submodule
Luke Kenneth Casson Leighton [Sun, 5 Apr 2020 11:04:25 +0000 (12:04 +0100)]
quick test found missing bracket
Luke Kenneth Casson Leighton [Sat, 4 Apr 2020 21:22:46 +0000 (22:22 +0100)]
add != operator
Luke Kenneth Casson Leighton [Sat, 4 Apr 2020 21:18:23 +0000 (22:18 +0100)]
update submodule
Luke Kenneth Casson Leighton [Sat, 4 Apr 2020 21:15:58 +0000 (22:15 +0100)]
update submodule
Luke Kenneth Casson Leighton [Sat, 4 Apr 2020 21:14:56 +0000 (22:14 +0100)]
update submodule