Jonathan Woodruff
22434499e5
Fixes for CRAM and SetAddress.
...
The SetAddress issue and fix were found and verified (respectively) to some degree by TestRIG.
2020-03-05 11:50:07 +00:00
Jonathan Woodruff
ebac2cdf6d
An apparently faster iteration of CSetBounds.
2020-03-02 16:10:33 +00:00
Jonathan Woodruff
42cdd2e3da
Update to new SetBounds which is precise.
...
This one isn't quite fast enough on CHERI-MIPS, so good luck with that RISC-V!
2020-02-28 12:17:19 +00:00
Alexandre Joannou
c647939cb7
Merge pull request #2 from ivanmgribeiro/master
...
Update Blarney Wrapper generator to fix bug
2020-02-27 13:53:50 +00:00
Alexandre Joannou
ba95fc9a01
Typo "inOffset" -> "incOffset"
2020-02-27 13:52:07 +00:00
Peter Rugg
1a8f20bad3
Cleanup maskAddr to use setCapPointer
2020-02-12 22:36:38 +00:00
PeterRugg
ce8e442ba6
Merge pull request #3 from jrtc27/overflow
...
Avoid shift amount overflow in maskAddr
2020-02-12 00:22:50 +00:00
James Clarke
5834111524
Avoid shift amount overflow in maskAddr
2020-02-11 22:46:07 +00:00
Jonathan Woodruff
8f111b64fe
Add SetAddrUnsafe function to the typeclass to support proper bounds checking for PCC.
2020-02-06 11:01:36 +00:00
Peter Rugg
0d7b3bb49f
Add utilities for CRRL and CRAM
2020-02-05 01:44:00 +00:00
Ivan Ribeiro
482afd3650
Update Blarney Wrapper generator to fix bug
...
Fixes a bug in the Blarney Wrapper generator where if a function input
had an underscore in its identifier, only the last word in the
identifier would be recognized.
2020-01-28 07:24:14 +00:00
Peter Rugg
774e883a26
Fix hardcoded assumption in maskAddr that MW was 8 from CAP64
2020-01-20 14:30:31 +00:00
Jonathan Woodruff
123fe712a9
Update contribution dates.
2020-01-15 11:43:42 +00:00
Jonathan Woodruff
a0ab504ea6
Remove contribution, as this file is new.
2020-01-15 11:42:37 +00:00
Jonathan Woodruff
8146a14026
Copy copyright attributions from source file.
2020-01-15 11:41:21 +00:00
Peter Rugg
80b6ee312e
Fix address/addrBits out of sync bugs
2020-01-07 11:30:12 +00:00
Peter Rugg
796cf41c9b
Fix off-by-one in max otype
2020-01-07 11:30:12 +00:00
Peter Rugg
c2200f47cc
Make Cap FShow more concise
2019-12-10 16:36:53 +00:00
Alexandre Joannou
da397428b6
Update CHERICapWrap.bsv to reflect changes from previous commit
2019-12-09 14:39:40 +00:00
Peter Rugg
d987f2b035
Refactor to allow some operations on CapReg
2019-11-18 17:28:10 +00:00
Alexandre Joannou
5953acc8c1
Refresh readme
2019-10-22 11:30:37 +01:00
Alexandre Joannou
b3494ce8af
Adding blarney wrapper
2019-10-22 10:56:11 +01:00
Alexandre Joannou
97ee2f262b
Update set/inc/modify offset API
2019-10-22 10:43:03 +01:00
Peter Rugg
12f8cb3ed9
Provide redundant argument to setOffset
2019-09-09 15:28:57 +01:00
Peter Rugg
862bfb39bd
Fix clearing of wrong bits in maskAddress
2019-09-09 15:28:40 +01:00
Peter Rugg
a39fefd950
Add safe maskAddr function
2019-09-05 12:10:11 +01:00
Peter Rugg
bc9f058976
Add incOffset as option for setOffset
2019-09-05 11:14:14 +01:00
Alexandre Joannou
06fbe6d31d
Merge pull request #1 from ivanmgribeiro/master
...
Set default build to 64-bit capabilities and fix typo in CHERICC_Fat
2019-08-02 15:58:57 +01:00
Ivan Ribeiro
ff28e6fa95
Fix typo, acces_sys_regs -> access_sys_regs
2019-08-02 15:53:50 +01:00
Ivan Ribeiro
f948e576d9
Default to CAP64 and RISCV architecture
2019-08-02 15:51:06 +01:00
Jonathan Woodruff
fdc1cbee2e
Revert a somewhat recent change that broke SetBounds.
...
This was done to agree with Sail, so we need to explore this difference.
2019-07-24 19:29:57 +01:00
Alexandre Joannou
350a7939cc
Updated verilog wrapping
2019-07-18 12:48:51 +01:00
Alexandre Joannou
c04a30cd88
Fold in setAddress fix from svn
2019-06-27 17:42:03 +01:00
Alexandre Joannou
fa664bbc01
Added some wrapping modules for individual class methods to help generate the verilog
2019-06-14 19:53:58 +01:00
Alexandre Joannou
fcef9c3744
adding toplevel LICENCE file
2019-06-03 11:00:42 +01:00
Peter Rugg
c1f08cf56b
Allow compilation of CHERI-64
2019-06-02 18:59:03 +01:00
Peter Rugg
3390da4446
Fix reporting of exact in setBounds
2019-05-28 15:23:55 +01:00
Peter Rugg
e0020327a7
Fix representability check
2019-05-27 18:20:42 +01:00
Peter Rugg
1c3acdc58d
Rework Kind reporting to match specified behaviour of CGetSealed and CGetType
2019-05-26 16:27:53 +01:00
Peter Rugg
a425686321
Move flags field in cap representation to match sail
2019-05-26 16:26:56 +01:00
Peter Rugg
4003a436fc
Add XOR with null cap when casting to/from memory cap
2019-05-25 14:30:31 +01:00
Peter Rugg
124c4bbd6b
Remove reserved field from HPerms
2019-05-25 14:29:58 +01:00
Alexandre Joannou
4d4001af8d
Added toMem/fromMem class methods
2019-05-22 14:52:06 +01:00
Alexandre Joannou
5063a8d9e3
Fix CC_Fat ResW value to account for flags
2019-05-22 11:30:15 +01:00
Peter Rugg
a8974231eb
Add tag bit checks for fully unpacked capabilities
2019-05-13 23:35:34 +01:00
Peter Rugg
652f8335eb
Fold in changes from SVN into CHERICC_Fat up to r34827
2019-05-08 16:57:27 +01:00
Alexandre Joannou
5a35cc6f2e
Added get/setFlags to CC_Fat and to the typeclass
2019-04-30 17:30:26 +01:00
Peter Rugg
3546becbd3
Fold in changes from SVN into CHERICC_Fat up to r34410
2019-03-26 12:40:58 +00:00
Peter Rugg
34c9bea6d6
Fix precision bug (Jon)
2019-03-22 00:06:54 +00:00
Peter Rugg
3d9c6cc2ce
Fold in changes from SVN into CHERICC_Fat up to r34349
2019-03-20 12:39:59 +00:00