soc.git
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)

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

5 years agowhitespace (put intermediate on separate line)
Luke Kenneth Casson Leighton [Sat, 9 Mar 2019 22:30:01 +0000 (22:30 +0000)]
whitespace (put intermediate on separate line)

5 years agorename input to i (input is a python keyword)
Luke Kenneth Casson Leighton [Sat, 9 Mar 2019 22:28:46 +0000 (22:28 +0000)]
rename input to i (input is a python keyword)

5 years agoput inversion of write-enable into its own signal
Luke Kenneth Casson Leighton [Sat, 9 Mar 2019 22:23:14 +0000 (22:23 +0000)]
put inversion of write-enable into its own signal

5 years agoChange test vcd output file name to match test filenames
Daniel Benusovich [Sat, 9 Mar 2019 04:19:20 +0000 (20:19 -0800)]
Change test vcd output file name to match test filenames

5 years agoRemove whitespace
Daniel Benusovich [Sat, 9 Mar 2019 04:17:33 +0000 (20:17 -0800)]
Remove whitespace

5 years agoCorrect comment in Cam to reflect changes
Daniel Benusovich [Sat, 9 Mar 2019 04:11:04 +0000 (20:11 -0800)]
Correct comment in Cam to reflect changes

5 years agoAdd comments to Cam test
Daniel Benusovich [Sat, 9 Mar 2019 04:10:05 +0000 (20:10 -0800)]
Add comments to Cam test

5 years agoAdd one more function comment for vector address test
Daniel Benusovich [Sat, 9 Mar 2019 04:05:29 +0000 (20:05 -0800)]
Add one more function comment for vector address test

5 years agoAdd comments for AddressEncoder and associated tests
Daniel Benusovich [Sat, 9 Mar 2019 04:04:10 +0000 (20:04 -0800)]
Add comments for AddressEncoder and associated tests

5 years agoCorrect comments for test_cam_entry
Daniel Benusovich [Sat, 9 Mar 2019 04:03:34 +0000 (20:03 -0800)]
Correct comments for test_cam_entry

5 years agoCorrect comment for vector assembler test
Daniel Benusovich [Sat, 9 Mar 2019 03:58:42 +0000 (19:58 -0800)]
Correct comment for vector assembler test

5 years agoAdd comments for VectorAssembler
Daniel Benusovich [Sat, 9 Mar 2019 03:51:52 +0000 (19:51 -0800)]
Add comments for VectorAssembler

5 years agoAdd VectorAssembler to accept match results from CamEntries to improve yosys graph...
Daniel Benusovich [Sat, 9 Mar 2019 03:41:55 +0000 (19:41 -0800)]
Add VectorAssembler to accept match results from CamEntries to improve yosys graph readability. The loopdedoos are no more!

5 years agoAdd VectorAssembler to make the graph from yosys beautiful.
Daniel Benusovich [Sat, 9 Mar 2019 03:41:12 +0000 (19:41 -0800)]
Add VectorAssembler to make the graph from yosys beautiful.

5 years agoIgnore generate .v files for now at least
Daniel Benusovich [Sat, 9 Mar 2019 03:12:50 +0000 (19:12 -0800)]
Ignore generate .v files for now at least

5 years agoModify Cam to use AddressEncoder instead of two encoders
Daniel Benusovich [Sat, 9 Mar 2019 03:10:04 +0000 (19:10 -0800)]
Modify Cam to use AddressEncoder instead of two encoders

5 years agoCorrect incorrect output bit size
Daniel Benusovich [Sat, 9 Mar 2019 03:09:43 +0000 (19:09 -0800)]
Correct incorrect output bit size

5 years agoAdd AddressEncoder to consolidate encoder modules and hide ugliness
Daniel Benusovich [Sat, 9 Mar 2019 02:59:27 +0000 (18:59 -0800)]
Add AddressEncoder to consolidate encoder modules and hide ugliness

5 years agoUpdate assert functions to remove duplicated code via assert_op in test_helper.py
Daniel Benusovich [Sat, 9 Mar 2019 02:50:02 +0000 (18:50 -0800)]
Update assert functions to remove duplicated code via assert_op in test_helper.py

5 years agoAdd submodule names explicitly for easier yosys graph reading.
Daniel Benusovich [Thu, 7 Mar 2019 05:19:58 +0000 (21:19 -0800)]
Add submodule names explicitly for easier yosys graph reading.

5 years agoRemove whitespace
Daniel Benusovich [Wed, 6 Mar 2019 06:22:42 +0000 (22:22 -0800)]
Remove whitespace

5 years agoAdd todo for encoder. To create a new encoder module or not to create.
Daniel Benusovich [Wed, 6 Mar 2019 06:16:51 +0000 (22:16 -0800)]
Add todo for encoder. To create a new encoder module or not to create.

5 years agoAdd multiple match check to unit test
Daniel Benusovich [Wed, 6 Mar 2019 06:16:19 +0000 (22:16 -0800)]
Add multiple match check to unit test

5 years agoAdd logic for multiple match line.
Daniel Benusovich [Wed, 6 Mar 2019 06:04:31 +0000 (22:04 -0800)]
Add logic for multiple match line.

5 years agoRemove WalkingPriorityEncoder. This module is OBE and can be recalled via git later.
Daniel Benusovich [Wed, 6 Mar 2019 06:01:30 +0000 (22:01 -0800)]
Remove WalkingPriorityEncoder. This module is OBE and can be recalled via git later.

5 years agowhoops move comment
Luke Kenneth Casson Leighton [Tue, 5 Mar 2019 11:39:02 +0000 (11:39 +0000)]
whoops move comment

5 years agomoved code (hardware) which doesnt depend on the index out of the loop
Luke Kenneth Casson Leighton [Tue, 5 Mar 2019 11:28:07 +0000 (11:28 +0000)]
moved code (hardware) which doesnt depend on the index out of the loop

5 years agouse binary-invert rather than == 0 comparison
Luke Kenneth Casson Leighton [Tue, 5 Mar 2019 11:21:19 +0000 (11:21 +0000)]
use binary-invert rather than == 0 comparison

5 years agouse binary test rather than comparison against 1,
Luke Kenneth Casson Leighton [Tue, 5 Mar 2019 11:06:54 +0000 (11:06 +0000)]
use binary test rather than comparison against 1,
and invert the if-else, removing the comparator against zero

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

5 years agoremove whitespace (again)
Luke Kenneth Casson Leighton [Tue, 5 Mar 2019 10:54:06 +0000 (10:54 +0000)]
remove whitespace (again)

5 years agoUpdate unit test to pass. Needs more testing for multiple match.
Daniel Benusovich [Tue, 5 Mar 2019 08:51:10 +0000 (00:51 -0800)]
Update unit test to pass. Needs more testing for multiple match.

5 years agoAdjust main function port declarations
Daniel Benusovich [Tue, 5 Mar 2019 08:44:56 +0000 (00:44 -0800)]
Adjust main function port declarations

5 years agoUpdate CAM to follow Xilinx interface.
Daniel Benusovich [Tue, 5 Mar 2019 08:36:16 +0000 (00:36 -0800)]
Update CAM to follow Xilinx interface.

5 years agoCorrect main of CamEntry
Daniel Benusovich [Tue, 5 Mar 2019 07:41:17 +0000 (23:41 -0800)]
Correct main of CamEntry

5 years agoAdd comma. woops
Daniel Benusovich [Tue, 5 Mar 2019 07:30:09 +0000 (23:30 -0800)]
Add comma. woops

5 years agoUpdate CAM to represent and actual CAM. No more key!
Daniel Benusovich [Mon, 4 Mar 2019 05:47:02 +0000 (21:47 -0800)]
Update CAM to represent and actual CAM. No more key!

5 years agoUpdating CAM entry to actually be a CAM. No key used only data!
Daniel Benusovich [Mon, 4 Mar 2019 05:42:55 +0000 (21:42 -0800)]
Updating CAM entry to actually be a CAM. No key used only data!

5 years agoadd Makefile to generate Cam.v verilog
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 10:12:34 +0000 (10:12 +0000)]
add Makefile to generate Cam.v verilog

5 years agocomments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 09:12:41 +0000 (09:12 +0000)]
comments and whitespace cleanup

5 years agocomments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 09:12:13 +0000 (09:12 +0000)]
comments and whitespace cleanup

5 years agocomments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 09:10:07 +0000 (09:10 +0000)]
comments and whitespace cleanup

5 years agocomments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 09:09:08 +0000 (09:09 +0000)]
comments and whitespace cleanup

5 years agocomments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 09:07:16 +0000 (09:07 +0000)]
comments and whitespace cleanup

5 years agocomments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 08:53:06 +0000 (08:53 +0000)]
comments and whitespace cleanup

5 years agocomments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 08:48:02 +0000 (08:48 +0000)]
comments and whitespace cleanup

5 years agoAdd unique Priority Encoder to allow for multiple matches in the CAM. Name is up...
Daniel Benusovich [Fri, 1 Mar 2019 09:20:57 +0000 (01:20 -0800)]
Add unique Priority Encoder to allow for multiple matches in the CAM. Name is up for debate. Include test for basic verification.