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

5 years agoA few more comments for the src
Daniel Benusovich [Mon, 25 Feb 2019 07:13:15 +0000 (23:13 -0800)]
A few more comments for the src

5 years agoAdding Reset. Cleaning Logic for CAM. Still needs tests
Daniel Benusovich [Mon, 25 Feb 2019 07:10:02 +0000 (23:10 -0800)]
Adding Reset. Cleaning Logic for CAM. Still needs tests

5 years agoAdd reset logic
Daniel Benusovich [Mon, 25 Feb 2019 06:37:52 +0000 (22:37 -0800)]
Add reset logic

5 years agoUpdating CAM to (hopefully) full functionality. Needs more testing first though
Daniel Benusovich [Sat, 23 Feb 2019 23:01:42 +0000 (15:01 -0800)]
Updating CAM to (hopefully) full functionality. Needs more testing first though

5 years agoUpdating CAM so that the submodules actually work. Might be useful yes?
Daniel Benusovich [Sat, 23 Feb 2019 21:53:29 +0000 (13:53 -0800)]
Updating CAM so that the submodules actually work. Might be useful yes?

5 years agoAdding more logic to test
Daniel Benusovich [Sat, 23 Feb 2019 21:53:11 +0000 (13:53 -0800)]
Adding more logic to test

5 years agoUpdating to elaborate
Daniel Benusovich [Sat, 23 Feb 2019 21:52:43 +0000 (13:52 -0800)]
Updating to elaborate

5 years agoUpdating to use assert_eq and assert_ne
Daniel Benusovich [Sat, 23 Feb 2019 20:49:45 +0000 (12:49 -0800)]
Updating to use assert_eq and assert_ne

5 years agoMoving all source scripts
Daniel Benusovich [Sat, 23 Feb 2019 18:41:55 +0000 (10:41 -0800)]
Moving all source scripts

5 years agoMoving cam_entry tests
Daniel Benusovich [Sat, 23 Feb 2019 18:41:10 +0000 (10:41 -0800)]
Moving cam_entry tests

5 years agoMoving test_cam_entry
Daniel Benusovich [Sat, 23 Feb 2019 18:41:00 +0000 (10:41 -0800)]
Moving test_cam_entry

5 years agoAdding unit test for CAM
Daniel Benusovich [Sat, 23 Feb 2019 18:25:46 +0000 (10:25 -0800)]
Adding unit test for CAM

5 years agoIgnoring pycache
Daniel Benusovich [Sat, 23 Feb 2019 18:25:21 +0000 (10:25 -0800)]
Ignoring pycache

5 years agoRemoving waveform gitignore
Daniel Benusovich [Sat, 23 Feb 2019 18:24:19 +0000 (10:24 -0800)]
Removing waveform gitignore

5 years agoRemoving __pycache__
Daniel Benusovich [Sat, 23 Feb 2019 18:23:29 +0000 (10:23 -0800)]
Removing __pycache__

5 years agoAdding test utility class
Daniel Benusovich [Sat, 23 Feb 2019 18:17:44 +0000 (10:17 -0800)]
Adding test utility class

5 years agoAdding test utility class to help with assertions and common testing functions
Daniel Benusovich [Sat, 23 Feb 2019 18:17:12 +0000 (10:17 -0800)]
Adding test utility class to help with assertions and common testing functions

5 years agomoving CamEntry to src
Daniel Benusovich [Sat, 23 Feb 2019 18:15:05 +0000 (10:15 -0800)]
moving CamEntry to src

5 years agomoving Cam to src
Daniel Benusovich [Sat, 23 Feb 2019 18:14:54 +0000 (10:14 -0800)]
moving Cam to src

5 years agoActually renaming Cam woops
Daniel Benusovich [Sat, 23 Feb 2019 18:14:23 +0000 (10:14 -0800)]
Actually renaming Cam woops

5 years agoRenaming Cam
Daniel Benusovich [Sat, 23 Feb 2019 18:13:54 +0000 (10:13 -0800)]
Renaming Cam

5 years agoUpdating CamEntry to use commands.
Daniel Benusovich [Sat, 23 Feb 2019 18:08:26 +0000 (10:08 -0800)]
Updating CamEntry to use commands.