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

5 years agowhitespace cleanup
Luke Kenneth Casson Leighton [Thu, 21 Feb 2019 00:18:18 +0000 (00:18 +0000)]
whitespace cleanup

5 years agoadd gitignore
Luke Kenneth Casson Leighton [Thu, 21 Feb 2019 00:13:25 +0000 (00:13 +0000)]
add gitignore

5 years agosplit out unit test into separate file
Luke Kenneth Casson Leighton [Thu, 21 Feb 2019 00:12:50 +0000 (00:12 +0000)]
split out unit test into separate file

5 years agowhitespace cleanup
Luke Kenneth Casson Leighton [Thu, 21 Feb 2019 00:10:02 +0000 (00:10 +0000)]
whitespace cleanup

5 years agoOne more comment change
Daniel Benusovich [Tue, 19 Feb 2019 05:25:26 +0000 (21:25 -0800)]
One more comment change

5 years agoAdding comments
Daniel Benusovich [Tue, 19 Feb 2019 05:24:40 +0000 (21:24 -0800)]
Adding comments

5 years agoNow the tests pass
Daniel Benusovich [Tue, 19 Feb 2019 05:17:19 +0000 (21:17 -0800)]
Now the tests pass

5 years agoBig update. Now with some unit testing weeeoow!
Daniel Benusovich [Tue, 19 Feb 2019 05:02:37 +0000 (21:02 -0800)]
Big update. Now with some unit testing weeeoow!

5 years agoNopw ignoring those pesky .vcd files. Filth!
Daniel Benusovich [Tue, 19 Feb 2019 05:02:15 +0000 (21:02 -0800)]
Nopw ignoring those pesky .vcd files. Filth!

5 years agoChanged CAM to accept write address. Pushed back and LRU logic to a higher block.
Daniel Benusovich [Mon, 18 Feb 2019 01:27:06 +0000 (17:27 -0800)]
Changed CAM to accept write address. Pushed back and LRU logic to a higher block.

5 years agoAdding a sweet sweet comment
Daniel Benusovich [Sat, 16 Feb 2019 22:47:29 +0000 (14:47 -0800)]
Adding a sweet sweet comment

5 years agoAdding CamEntry which is used in the CAM.
Daniel Benusovich [Sat, 16 Feb 2019 21:26:50 +0000 (13:26 -0800)]
Adding CamEntry which is used in the CAM.

5 years agoAdding CAM class. Yet incomplete
Daniel Benusovich [Sat, 16 Feb 2019 21:26:27 +0000 (13:26 -0800)]
Adding CAM class. Yet incomplete

5 years agoReorganizing signal sizes within inputs
Daniel Benusovich [Sat, 16 Feb 2019 21:26:12 +0000 (13:26 -0800)]
Reorganizing signal sizes within inputs

5 years agoAdding initial CacheWalker. Will be used to find matching cache entries.
Daniel Benusovich [Thu, 14 Feb 2019 06:24:24 +0000 (22:24 -0800)]
Adding initial CacheWalker. Will be used to find matching cache entries.

5 years agoAdding expected data format to TLB header
Daniel Benusovich [Thu, 14 Feb 2019 06:23:27 +0000 (22:23 -0800)]
Adding expected data format to TLB header

5 years agoAdding header comments for validator
Daniel Benusovich [Thu, 14 Feb 2019 06:22:48 +0000 (22:22 -0800)]
Adding header comments for validator

5 years agoImports for If, Case, Else not possible
Daniel Benusovich [Thu, 14 Feb 2019 05:47:10 +0000 (21:47 -0800)]
Imports for If, Case, Else not possible

5 years agoChanged format of TLB entry to Tag - ASID - PTE
Daniel Benusovich [Thu, 14 Feb 2019 05:13:43 +0000 (21:13 -0800)]
Changed format of TLB entry to Tag - ASID - PTE

5 years agoexplicit import (no "import *")
Luke Kenneth Casson Leighton [Mon, 11 Feb 2019 07:05:32 +0000 (07:05 +0000)]
explicit import (no "import *")

5 years agokeep to under 80 chars
Luke Kenneth Casson Leighton [Mon, 11 Feb 2019 07:03:34 +0000 (07:03 +0000)]
keep to under 80 chars

5 years agouse explicit import (no import *)
Luke Kenneth Casson Leighton [Mon, 11 Feb 2019 07:02:36 +0000 (07:02 +0000)]
use explicit import (no import *)

5 years agoadd __pycache__ to ignore
Luke Kenneth Casson Leighton [Mon, 11 Feb 2019 07:02:17 +0000 (07:02 +0000)]
add __pycache__ to ignore

5 years agoInital Version of the TLB. Very far from complete. Needs at some additional modules
Daniel Benusovich [Mon, 11 Feb 2019 06:42:46 +0000 (22:42 -0800)]
Inital Version of the TLB. Very far from complete. Needs at some additional modules

5 years agoAdding the Permission Validator. Needs Tests!
Daniel Benusovich [Mon, 11 Feb 2019 06:42:22 +0000 (22:42 -0800)]
Adding the Permission Validator. Needs Tests!

5 years agoIgnoring Project files from Wing Python editor. We dont want that kind of filth!
Daniel Benusovich [Mon, 11 Feb 2019 06:14:34 +0000 (22:14 -0800)]
Ignoring Project files from Wing Python editor. We dont want that kind of filth!

5 years agofirst commit
Luke Kenneth Casson Leighton [Sun, 10 Feb 2019 08:50:47 +0000 (08:50 +0000)]
first commit