soc.git
5 years agoexperimenting with PTW
Luke Kenneth Casson Leighton [Fri, 19 Apr 2019 01:42:20 +0000 (02:42 +0100)]
experimenting with PTW

5 years agoupdate comments
Luke Kenneth Casson Leighton [Fri, 19 Apr 2019 01:05:01 +0000 (02:05 +0100)]
update comments

5 years agorandom experiments with ptw.py
Luke Kenneth Casson Leighton [Thu, 18 Apr 2019 19:55:18 +0000 (20:55 +0100)]
random experiments with ptw.py

5 years agouse of plru starts to make sense, must set vpn == vaddr_i>>12
Luke Kenneth Casson Leighton [Thu, 18 Apr 2019 10:20:33 +0000 (11:20 +0100)]
use of plru starts to make sense, must set vpn == vaddr_i>>12

5 years agoadd in name into plru to help debugging
Luke Kenneth Casson Leighton [Thu, 18 Apr 2019 09:35:46 +0000 (10:35 +0100)]
add in name into plru to help debugging

5 years agoadd in name into plru to help debugging
Luke Kenneth Casson Leighton [Thu, 18 Apr 2019 09:33:06 +0000 (10:33 +0100)]
add in name into plru to help debugging

5 years agocontinuing experimentation with PLRU
Luke Kenneth Casson Leighton [Thu, 18 Apr 2019 09:12:23 +0000 (10:12 +0100)]
continuing experimentation with PLRU

5 years agoadd arbitrary random experimentation values for TLB and PTW unit tests
Luke Kenneth Casson Leighton [Thu, 18 Apr 2019 04:54:35 +0000 (05:54 +0100)]
add arbitrary random experimentation values for TLB and PTW unit tests

5 years agotidyup
Luke Kenneth Casson Leighton [Mon, 15 Apr 2019 05:12:06 +0000 (06:12 +0100)]
tidyup

5 years agomove states to functions
Luke Kenneth Casson Leighton [Mon, 15 Apr 2019 05:05:28 +0000 (06:05 +0100)]
move states to functions

5 years agomove idle state to separate function
Luke Kenneth Casson Leighton [Mon, 15 Apr 2019 04:49:45 +0000 (05:49 +0100)]
move idle state to separate function

5 years agofix sync bug with tag_valid, simplify logic
Luke Kenneth Casson Leighton [Mon, 15 Apr 2019 04:46:53 +0000 (05:46 +0100)]
fix sync bug with tag_valid, simplify logic

5 years agocleanup using temporaries
Luke Kenneth Casson Leighton [Mon, 15 Apr 2019 04:30:54 +0000 (05:30 +0100)]
cleanup using temporaries

5 years agosimplify logic
Luke Kenneth Casson Leighton [Mon, 15 Apr 2019 04:14:16 +0000 (05:14 +0100)]
simplify logic

5 years agodebug ptw.py
Luke Kenneth Casson Leighton [Mon, 15 Apr 2019 04:04:47 +0000 (05:04 +0100)]
debug ptw.py

5 years agodebug ptw.py
Luke Kenneth Casson Leighton [Mon, 15 Apr 2019 03:54:26 +0000 (04:54 +0100)]
debug ptw.py

5 years agoadd comment
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 17:53:16 +0000 (18:53 +0100)]
add comment

5 years agomove comments
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 17:49:28 +0000 (18:49 +0100)]
move comments

5 years agouse Cat on list, makes graphviz clearer
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 17:47:16 +0000 (18:47 +0100)]
use Cat on list, makes graphviz clearer

5 years agounsigned const
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 17:29:49 +0000 (18:29 +0100)]
unsigned const

5 years agotidyup comments
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 17:09:13 +0000 (18:09 +0100)]
tidyup comments

5 years agocontent must be comb not sync
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 17:09:03 +0000 (18:09 +0100)]
content must be comb not sync

5 years agocomment spelling
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 16:58:14 +0000 (17:58 +0100)]
comment spelling

5 years agoclarify output, use Cat on list
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 16:50:12 +0000 (17:50 +0100)]
clarify output, use Cat on list

5 years agorename _i and _o, for clarity: replace_en comb not sync
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 16:38:26 +0000 (17:38 +0100)]
rename _i and _o, for clarity: replace_en comb not sync

5 years agoredundant argument lu_hit
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 16:18:35 +0000 (17:18 +0100)]
redundant argument lu_hit

5 years agosplit out into modules
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 16:13:11 +0000 (17:13 +0100)]
split out into modules

5 years agosplit into separate module instead of array
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 15:36:13 +0000 (16:36 +0100)]
split into separate module instead of array

5 years agoupdate comment block
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 14:07:28 +0000 (15:07 +0100)]
update comment block

5 years agoupdate comment block
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 14:07:13 +0000 (15:07 +0100)]
update comment block

5 years agocreate flatten and use in eq
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 14:01:58 +0000 (15:01 +0100)]
create flatten and use in eq

5 years agotemporary signals, efforts to simplify graph
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 12:51:58 +0000 (13:51 +0100)]
temporary signals, efforts to simplify graph

5 years agoadd in temporaries, get graphviz down in size
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 12:32:56 +0000 (13:32 +0100)]
add in temporaries, get graphviz down in size

5 years agowork towards getting PTW translation working
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 12:18:16 +0000 (13:18 +0100)]
work towards getting PTW translation working

5 years agocorrect python syntax errors
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 11:57:49 +0000 (12:57 +0100)]
correct python syntax errors

5 years agoupdate comments
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 11:40:04 +0000 (12:40 +0100)]
update comments

5 years agoexperimental conversion of ariane TLB to nmigen, see what it looks like
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 11:34:56 +0000 (12:34 +0100)]
experimental conversion of ariane TLB to nmigen, see what it looks like

5 years agotidyup
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 07:01:29 +0000 (08:01 +0100)]
tidyup

5 years agoremove _n and _q
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 06:53:29 +0000 (07:53 +0100)]
remove _n and _q

5 years agoexperimental conversion of ptw.sv
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 06:34:38 +0000 (07:34 +0100)]
experimental conversion of ptw.sv

5 years agoexperimental conversion of ptw.sv
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 06:25:41 +0000 (07:25 +0100)]
experimental conversion of ptw.sv

5 years agoexperimental conversion of ptw.sv
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 06:24:26 +0000 (07:24 +0100)]
experimental conversion of ptw.sv

5 years agoexperimental conversion of ptw.sv
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 06:17:24 +0000 (07:17 +0100)]
experimental conversion of ptw.sv

5 years agoexperimental conversion of ptw.sv
Luke Kenneth Casson Leighton [Sun, 14 Apr 2019 05:59:41 +0000 (06:59 +0100)]
experimental conversion of ptw.sv

5 years agoexperimental conversion of ptw.sv
Luke Kenneth Casson Leighton [Sat, 13 Apr 2019 21:15:32 +0000 (22:15 +0100)]
experimental conversion of ptw.sv

5 years agoexperimental conversion of ptw.sv
Luke Kenneth Casson Leighton [Sat, 13 Apr 2019 21:11:23 +0000 (22:11 +0100)]
experimental conversion of ptw.sv

5 years agoadd conversion of ptw.sv from ariane, to see what it looks like
Luke Kenneth Casson Leighton [Sat, 13 Apr 2019 11:54:34 +0000 (12:54 +0100)]
add conversion of ptw.sv from ariane, to see what it looks like

5 years agocheck_tags is a member of the class
Luke Kenneth Casson Leighton [Wed, 10 Apr 2019 17:45:15 +0000 (18:45 +0100)]
check_tags is a member of the class

5 years agoset is a python keyword, renamed to "cset" - short for "cache set"
Luke Kenneth Casson Leighton [Wed, 10 Apr 2019 17:40:57 +0000 (18:40 +0100)]
set is a python keyword, renamed to "cset" - short for "cache set"

5 years agoAdd a comment
Daniel Benusovich [Wed, 10 Apr 2019 07:24:28 +0000 (00:24 -0700)]
Add a comment

5 years agoAdd LRU logic for read portion. Still missing write. Soon.
Daniel Benusovich [Wed, 10 Apr 2019 06:43:17 +0000 (23:43 -0700)]
Add LRU logic for read portion. Still missing write. Soon.

5 years agoUpdate comments for consitency
Daniel Benusovich [Wed, 10 Apr 2019 06:14:02 +0000 (23:14 -0700)]
Update comments for consitency

5 years agoremove twin negatives in comment
Luke Kenneth Casson Leighton [Mon, 8 Apr 2019 03:11:56 +0000 (04:11 +0100)]
remove twin negatives in comment

5 years agouse constants with semi-useful names
Luke Kenneth Casson Leighton [Mon, 8 Apr 2019 03:07:00 +0000 (04:07 +0100)]
use constants with semi-useful names

5 years agoadd comment about L1_size being overridden
Luke Kenneth Casson Leighton [Sun, 7 Apr 2019 23:19:19 +0000 (00:19 +0100)]
add comment about L1_size being overridden

5 years agominor code-shuffle on TLB, added nmigen-main caller
Luke Kenneth Casson Leighton [Sun, 7 Apr 2019 23:18:12 +0000 (00:18 +0100)]
minor code-shuffle on TLB, added nmigen-main caller

5 years agoadd ports function to Cam.py for convenience
Luke Kenneth Casson Leighton [Sun, 7 Apr 2019 23:17:42 +0000 (00:17 +0100)]
add ports function to Cam.py for convenience

5 years agoAdd SetAssociativeCache source with read logic
Daniel Benusovich [Mon, 1 Apr 2019 06:08:57 +0000 (23:08 -0700)]
Add SetAssociativeCache source with read logic

5 years agoMove read L1 block into the correct location.
Daniel Benusovich [Mon, 1 Apr 2019 06:08:17 +0000 (23:08 -0700)]
Move read L1 block into the correct location.

5 years agoCorrect failing test.
Daniel Benusovich [Mon, 1 Apr 2019 05:51:03 +0000 (22:51 -0700)]
Correct failing test.

5 years agoCorrect missing function call in unit test.
Daniel Benusovich [Mon, 1 Apr 2019 05:50:53 +0000 (22:50 -0700)]
Correct missing function call in unit test.

5 years agoCorrect comment in TLB
Daniel Benusovich [Mon, 1 Apr 2019 02:53:37 +0000 (19:53 -0700)]
Correct comment in TLB

5 years agoCorrecting read/write port assignments
Daniel Benusovich [Mon, 1 Apr 2019 01:23:49 +0000 (18:23 -0700)]
Correcting read/write port assignments

5 years agoRemove VectorAssembler files
Daniel Benusovich [Sun, 31 Mar 2019 21:57:37 +0000 (14:57 -0700)]
Remove VectorAssembler files

5 years agoRemove VectorAssembler from CAM. Thanks Luke
Daniel Benusovich [Sun, 31 Mar 2019 21:56:57 +0000 (14:56 -0700)]
Remove VectorAssembler from CAM. Thanks Luke

5 years agospelling correction
Luke Kenneth Casson Leighton [Tue, 26 Mar 2019 03:27:46 +0000 (03:27 +0000)]
spelling correction

5 years agoAdd PteEntry comments
Daniel Benusovich [Wed, 20 Mar 2019 05:05:50 +0000 (22:05 -0700)]
Add PteEntry comments

5 years agoUpdate TLB to follow PermissionValidator changes
Daniel Benusovich [Wed, 20 Mar 2019 04:58:17 +0000 (21:58 -0700)]
Update TLB to follow PermissionValidator changes

5 years agoUpdate PermissionValidator to use PteEntry Parser to increase code read ability and...
Daniel Benusovich [Wed, 20 Mar 2019 04:56:37 +0000 (21:56 -0700)]
Update PermissionValidator to use PteEntry Parser to increase code read ability and code duplication

5 years agoAdd PteEntry parser to centralize Page Table Entry parsing
Daniel Benusovich [Wed, 20 Mar 2019 04:55:46 +0000 (21:55 -0700)]
Add PteEntry parser to centralize Page Table Entry parsing

5 years agoDelete unused resource RegisterFile
Daniel Benusovich [Wed, 20 Mar 2019 04:55:22 +0000 (21:55 -0700)]
Delete unused resource RegisterFile

5 years agowhitespace cleanup
Luke Kenneth Casson Leighton [Thu, 14 Mar 2019 05:49:21 +0000 (05:49 +0000)]
whitespace cleanup

5 years agoAdd permission validator unit test. Still needs more but basics are here!
Daniel Benusovich [Thu, 14 Mar 2019 05:18:03 +0000 (22:18 -0700)]
Add permission validator unit test. Still needs more but basics are here!

5 years agoAdd valid bit check to permission validator
Daniel Benusovich [Thu, 14 Mar 2019 05:17:42 +0000 (22:17 -0700)]
Add valid bit check to permission validator

5 years agoAdd missing argument for L1 memory size
Daniel Benusovich [Thu, 14 Mar 2019 05:17:19 +0000 (22:17 -0700)]
Add missing argument for L1 memory size

5 years agowhitespace
Luke Kenneth Casson Leighton [Wed, 13 Mar 2019 07:34:56 +0000 (07:34 +0000)]
whitespace

5 years agospelling correction
Luke Kenneth Casson Leighton [Wed, 13 Mar 2019 07:34:20 +0000 (07:34 +0000)]
spelling correction

5 years agosuper is a keyword: replace with "supermode" in TLB and PermValidator
Luke Kenneth Casson Leighton [Wed, 13 Mar 2019 07:33:46 +0000 (07:33 +0000)]
super is a keyword: replace with "supermode" in TLB and PermValidator

5 years agomove comments to docstring block
Luke Kenneth Casson Leighton [Wed, 13 Mar 2019 07:31:58 +0000 (07:31 +0000)]
move comments to docstring block

5 years agoReplace RegisterFile with Memory.
Daniel Benusovich [Wed, 13 Mar 2019 05:47:47 +0000 (22:47 -0700)]
Replace RegisterFile with Memory.

5 years agoUpdate comments CAM
Daniel Benusovich [Wed, 13 Mar 2019 05:10:34 +0000 (22:10 -0700)]
Update comments CAM

5 years agoDelete CacheWalker
Daniel Benusovich [Wed, 13 Mar 2019 05:10:24 +0000 (22:10 -0700)]
Delete CacheWalker

5 years agoDelete RegisterFile
Daniel Benusovich [Wed, 13 Mar 2019 05:10:16 +0000 (22:10 -0700)]
Delete RegisterFile

5 years agoremove whitespace
Luke Kenneth Casson Leighton [Tue, 12 Mar 2019 06:50:18 +0000 (06:50 +0000)]
remove whitespace

5 years agoremove whitespace
Luke Kenneth Casson Leighton [Tue, 12 Mar 2019 06:48:45 +0000 (06:48 +0000)]
remove whitespace

5 years agoremove whitespace
Luke Kenneth Casson Leighton [Tue, 12 Mar 2019 06:46:48 +0000 (06:46 +0000)]
remove whitespace

5 years agoRemove whitespace
Daniel Benusovich [Tue, 12 Mar 2019 04:13:01 +0000 (21:13 -0700)]
Remove whitespace

5 years agoCorrect misspelled word
Daniel Benusovich [Tue, 12 Mar 2019 04:12:54 +0000 (21:12 -0700)]
Correct misspelled word

5 years agoAdd logic to TLB to correctly utilize Cam, RegisterFile, and PermissionValidator...
Daniel Benusovich [Tue, 12 Mar 2019 04:05:17 +0000 (21:05 -0700)]
Add logic to TLB to correctly utilize Cam, RegisterFile, and PermissionValidator submodules. Needs lots of work.

5 years agoRemove whitespace
Daniel Benusovich [Tue, 12 Mar 2019 04:04:18 +0000 (21:04 -0700)]
Remove whitespace

5 years agoUpdate PermissionValidator to actually function. Needs tests
Daniel Benusovich [Tue, 12 Mar 2019 02:53:12 +0000 (19:53 -0700)]
Update PermissionValidator to actually function. Needs tests

5 years agoUpdate comments. Remove Whitespace
Daniel Benusovich [Tue, 12 Mar 2019 02:52:45 +0000 (19:52 -0700)]
Update comments. Remove Whitespace

5 years agoAdd RegisterFile class for usage in the TLB.
Daniel Benusovich [Tue, 12 Mar 2019 02:51:25 +0000 (19:51 -0700)]
Add RegisterFile class for usage in the TLB.

5 years agoShow that read_warning is not necessary. But the line should be kept for interfacing?
Daniel Benusovich [Sun, 10 Mar 2019 22:38:29 +0000 (15:38 -0700)]
Show that read_warning is not necessary. But the line should be kept for interfacing?

5 years agoUpdate CAM comments to reflect new usage
Daniel Benusovich [Sun, 10 Mar 2019 22:29:36 +0000 (15:29 -0700)]
Update CAM comments to reflect new usage

5 years agoAdd multiple match test
Daniel Benusovich [Sun, 10 Mar 2019 22:29:23 +0000 (15:29 -0700)]
Add multiple match test

5 years agoRemove wen term and shift If blocks to remove NOT need
Daniel Benusovich [Sun, 10 Mar 2019 19:34:13 +0000 (12:34 -0700)]
Remove wen term and shift If blocks to remove NOT need

5 years agowhitespace cleanup
Luke Kenneth Casson Leighton [Sat, 9 Mar 2019 22:38:51 +0000 (22:38 +0000)]
whitespace cleanup

5 years agouse binary input to test, bit clearer
Luke Kenneth Casson Leighton [Sat, 9 Mar 2019 22:38:15 +0000 (22:38 +0000)]
use binary input to test, bit clearer

5 years agorename input variable to in_val (input is a python keyword)
Luke Kenneth Casson Leighton [Sat, 9 Mar 2019 22:37:36 +0000 (22:37 +0000)]
rename input variable to in_val (input is a python keyword)