Daniel Benusovich [Wed, 13 Mar 2019 05:10:24 +0000 (22:10 -0700)]
Delete CacheWalker
Daniel Benusovich [Wed, 13 Mar 2019 05:10:16 +0000 (22:10 -0700)]
Delete RegisterFile
Luke Kenneth Casson Leighton [Tue, 12 Mar 2019 06:50:18 +0000 (06:50 +0000)]
remove whitespace
Luke Kenneth Casson Leighton [Tue, 12 Mar 2019 06:48:45 +0000 (06:48 +0000)]
remove whitespace
Luke Kenneth Casson Leighton [Tue, 12 Mar 2019 06:46:48 +0000 (06:46 +0000)]
remove whitespace
Daniel Benusovich [Tue, 12 Mar 2019 04:13:01 +0000 (21:13 -0700)]
Remove whitespace
Daniel Benusovich [Tue, 12 Mar 2019 04:12:54 +0000 (21:12 -0700)]
Correct misspelled word
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.
Daniel Benusovich [Tue, 12 Mar 2019 04:04:18 +0000 (21:04 -0700)]
Remove whitespace
Daniel Benusovich [Tue, 12 Mar 2019 02:53:12 +0000 (19:53 -0700)]
Update PermissionValidator to actually function. Needs tests
Daniel Benusovich [Tue, 12 Mar 2019 02:52:45 +0000 (19:52 -0700)]
Update comments. Remove Whitespace
Daniel Benusovich [Tue, 12 Mar 2019 02:51:25 +0000 (19:51 -0700)]
Add RegisterFile class for usage in the TLB.
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?
Daniel Benusovich [Sun, 10 Mar 2019 22:29:36 +0000 (15:29 -0700)]
Update CAM comments to reflect new usage
Daniel Benusovich [Sun, 10 Mar 2019 22:29:23 +0000 (15:29 -0700)]
Add multiple match test
Daniel Benusovich [Sun, 10 Mar 2019 19:34:13 +0000 (12:34 -0700)]
Remove wen term and shift If blocks to remove NOT need
Luke Kenneth Casson Leighton [Sat, 9 Mar 2019 22:38:51 +0000 (22:38 +0000)]
whitespace cleanup
Luke Kenneth Casson Leighton [Sat, 9 Mar 2019 22:38:15 +0000 (22:38 +0000)]
use binary input to test, bit clearer
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)
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)
Luke Kenneth Casson Leighton [Sat, 9 Mar 2019 22:30:01 +0000 (22:30 +0000)]
whitespace (put intermediate on separate line)
Luke Kenneth Casson Leighton [Sat, 9 Mar 2019 22:28:46 +0000 (22:28 +0000)]
rename input to i (input is a python keyword)
Luke Kenneth Casson Leighton [Sat, 9 Mar 2019 22:23:14 +0000 (22:23 +0000)]
put inversion of write-enable into its own signal
Daniel Benusovich [Sat, 9 Mar 2019 04:19:20 +0000 (20:19 -0800)]
Change test vcd output file name to match test filenames
Daniel Benusovich [Sat, 9 Mar 2019 04:17:33 +0000 (20:17 -0800)]
Remove whitespace
Daniel Benusovich [Sat, 9 Mar 2019 04:11:04 +0000 (20:11 -0800)]
Correct comment in Cam to reflect changes
Daniel Benusovich [Sat, 9 Mar 2019 04:10:05 +0000 (20:10 -0800)]
Add comments to Cam test
Daniel Benusovich [Sat, 9 Mar 2019 04:05:29 +0000 (20:05 -0800)]
Add one more function comment for vector address test
Daniel Benusovich [Sat, 9 Mar 2019 04:04:10 +0000 (20:04 -0800)]
Add comments for AddressEncoder and associated tests
Daniel Benusovich [Sat, 9 Mar 2019 04:03:34 +0000 (20:03 -0800)]
Correct comments for test_cam_entry
Daniel Benusovich [Sat, 9 Mar 2019 03:58:42 +0000 (19:58 -0800)]
Correct comment for vector assembler test
Daniel Benusovich [Sat, 9 Mar 2019 03:51:52 +0000 (19:51 -0800)]
Add comments for VectorAssembler
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!
Daniel Benusovich [Sat, 9 Mar 2019 03:41:12 +0000 (19:41 -0800)]
Add VectorAssembler to make the graph from yosys beautiful.
Daniel Benusovich [Sat, 9 Mar 2019 03:12:50 +0000 (19:12 -0800)]
Ignore generate .v files for now at least
Daniel Benusovich [Sat, 9 Mar 2019 03:10:04 +0000 (19:10 -0800)]
Modify Cam to use AddressEncoder instead of two encoders
Daniel Benusovich [Sat, 9 Mar 2019 03:09:43 +0000 (19:09 -0800)]
Correct incorrect output bit size
Daniel Benusovich [Sat, 9 Mar 2019 02:59:27 +0000 (18:59 -0800)]
Add AddressEncoder to consolidate encoder modules and hide ugliness
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
Daniel Benusovich [Thu, 7 Mar 2019 05:19:58 +0000 (21:19 -0800)]
Add submodule names explicitly for easier yosys graph reading.
Daniel Benusovich [Wed, 6 Mar 2019 06:22:42 +0000 (22:22 -0800)]
Remove whitespace
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.
Daniel Benusovich [Wed, 6 Mar 2019 06:16:19 +0000 (22:16 -0800)]
Add multiple match check to unit test
Daniel Benusovich [Wed, 6 Mar 2019 06:04:31 +0000 (22:04 -0800)]
Add logic for multiple match line.
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.
Luke Kenneth Casson Leighton [Tue, 5 Mar 2019 11:39:02 +0000 (11:39 +0000)]
whoops move comment
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
Luke Kenneth Casson Leighton [Tue, 5 Mar 2019 11:21:19 +0000 (11:21 +0000)]
use binary-invert rather than == 0 comparison
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
Luke Kenneth Casson Leighton [Tue, 5 Mar 2019 10:55:18 +0000 (10:55 +0000)]
remove whitespace
Luke Kenneth Casson Leighton [Tue, 5 Mar 2019 10:54:06 +0000 (10:54 +0000)]
remove whitespace (again)
Daniel Benusovich [Tue, 5 Mar 2019 08:51:10 +0000 (00:51 -0800)]
Update unit test to pass. Needs more testing for multiple match.
Daniel Benusovich [Tue, 5 Mar 2019 08:44:56 +0000 (00:44 -0800)]
Adjust main function port declarations
Daniel Benusovich [Tue, 5 Mar 2019 08:36:16 +0000 (00:36 -0800)]
Update CAM to follow Xilinx interface.
Daniel Benusovich [Tue, 5 Mar 2019 07:41:17 +0000 (23:41 -0800)]
Correct main of CamEntry
Daniel Benusovich [Tue, 5 Mar 2019 07:30:09 +0000 (23:30 -0800)]
Add comma. woops
Daniel Benusovich [Mon, 4 Mar 2019 05:47:02 +0000 (21:47 -0800)]
Update CAM to represent and actual CAM. No more key!
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!
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 10:12:34 +0000 (10:12 +0000)]
add Makefile to generate Cam.v verilog
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 09:12:41 +0000 (09:12 +0000)]
comments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 09:12:13 +0000 (09:12 +0000)]
comments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 09:10:07 +0000 (09:10 +0000)]
comments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 09:09:08 +0000 (09:09 +0000)]
comments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 09:07:16 +0000 (09:07 +0000)]
comments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 08:53:06 +0000 (08:53 +0000)]
comments and whitespace cleanup
Luke Kenneth Casson Leighton [Mon, 4 Mar 2019 08:48:02 +0000 (08:48 +0000)]
comments and whitespace cleanup
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.
Daniel Benusovich [Mon, 25 Feb 2019 07:13:15 +0000 (23:13 -0800)]
A few more comments for the src
Daniel Benusovich [Mon, 25 Feb 2019 07:10:02 +0000 (23:10 -0800)]
Adding Reset. Cleaning Logic for CAM. Still needs tests
Daniel Benusovich [Mon, 25 Feb 2019 06:37:52 +0000 (22:37 -0800)]
Add reset logic
Daniel Benusovich [Sat, 23 Feb 2019 23:01:42 +0000 (15:01 -0800)]
Updating CAM to (hopefully) full functionality. Needs more testing first though
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?
Daniel Benusovich [Sat, 23 Feb 2019 21:53:11 +0000 (13:53 -0800)]
Adding more logic to test
Daniel Benusovich [Sat, 23 Feb 2019 21:52:43 +0000 (13:52 -0800)]
Updating to elaborate
Daniel Benusovich [Sat, 23 Feb 2019 20:49:45 +0000 (12:49 -0800)]
Updating to use assert_eq and assert_ne
Daniel Benusovich [Sat, 23 Feb 2019 18:41:55 +0000 (10:41 -0800)]
Moving all source scripts
Daniel Benusovich [Sat, 23 Feb 2019 18:41:10 +0000 (10:41 -0800)]
Moving cam_entry tests
Daniel Benusovich [Sat, 23 Feb 2019 18:41:00 +0000 (10:41 -0800)]
Moving test_cam_entry
Daniel Benusovich [Sat, 23 Feb 2019 18:25:46 +0000 (10:25 -0800)]
Adding unit test for CAM
Daniel Benusovich [Sat, 23 Feb 2019 18:25:21 +0000 (10:25 -0800)]
Ignoring pycache
Daniel Benusovich [Sat, 23 Feb 2019 18:24:19 +0000 (10:24 -0800)]
Removing waveform gitignore
Daniel Benusovich [Sat, 23 Feb 2019 18:23:29 +0000 (10:23 -0800)]
Removing __pycache__
Daniel Benusovich [Sat, 23 Feb 2019 18:17:44 +0000 (10:17 -0800)]
Adding test utility class
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
Daniel Benusovich [Sat, 23 Feb 2019 18:15:05 +0000 (10:15 -0800)]
moving CamEntry to src
Daniel Benusovich [Sat, 23 Feb 2019 18:14:54 +0000 (10:14 -0800)]
moving Cam to src
Daniel Benusovich [Sat, 23 Feb 2019 18:14:23 +0000 (10:14 -0800)]
Actually renaming Cam woops
Daniel Benusovich [Sat, 23 Feb 2019 18:13:54 +0000 (10:13 -0800)]
Renaming Cam
Daniel Benusovich [Sat, 23 Feb 2019 18:08:26 +0000 (10:08 -0800)]
Updating CamEntry to use commands.
Luke Kenneth Casson Leighton [Thu, 21 Feb 2019 00:18:18 +0000 (00:18 +0000)]
whitespace cleanup
Luke Kenneth Casson Leighton [Thu, 21 Feb 2019 00:13:25 +0000 (00:13 +0000)]
add gitignore
Luke Kenneth Casson Leighton [Thu, 21 Feb 2019 00:12:50 +0000 (00:12 +0000)]
split out unit test into separate file
Luke Kenneth Casson Leighton [Thu, 21 Feb 2019 00:10:02 +0000 (00:10 +0000)]
whitespace cleanup
Daniel Benusovich [Tue, 19 Feb 2019 05:25:26 +0000 (21:25 -0800)]
One more comment change
Daniel Benusovich [Tue, 19 Feb 2019 05:24:40 +0000 (21:24 -0800)]
Adding comments
Daniel Benusovich [Tue, 19 Feb 2019 05:17:19 +0000 (21:17 -0800)]
Now the tests pass
Daniel Benusovich [Tue, 19 Feb 2019 05:02:37 +0000 (21:02 -0800)]
Big update. Now with some unit testing weeeoow!
Daniel Benusovich [Tue, 19 Feb 2019 05:02:15 +0000 (21:02 -0800)]
Nopw ignoring those pesky .vcd files. Filth!
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.
Daniel Benusovich [Sat, 16 Feb 2019 22:47:29 +0000 (14:47 -0800)]
Adding a sweet sweet comment