bos2k9.git
10 years agoA parity generator.
Malte S. Stretz [Wed, 15 Jul 2009 11:54:54 +0000]
A parity generator.

10 years agoSplit parity generic into two.
Malte S. Stretz [Wed, 15 Jul 2009 10:28:57 +0000]
Split parity generic into two.

10 years agoPart of a state machine.
Malte S. Stretz [Thu, 9 Jul 2009 16:49:33 +0000]
Part of a state machine.

10 years agoAssign library to rs232_*.
Malte S. Stretz [Thu, 9 Jul 2009 16:40:36 +0000]
Assign library to rs232_*.

10 years agoAdded package for global RS232 stuff.
Malte S. Stretz [Thu, 9 Jul 2009 16:38:48 +0000]
Added package for global RS232 stuff.

10 years agoAdd a trigger port.
Malte S. Stretz [Thu, 9 Jul 2009 16:26:39 +0000]
Add a trigger port.

10 years agoSplit UART internally into sender and receiver.
Malte S. Stretz [Thu, 9 Jul 2009 14:21:53 +0000]
Split UART internally into sender and receiver.

10 years agoRS232 UART kick off.
Malte S. Stretz [Thu, 9 Jul 2009 13:55:19 +0000]
RS232 UART kick off.

10 years agoAdapt bos2k9_t to sd_host_t.
Malte S. Stretz [Thu, 9 Jul 2009 13:12:36 +0000]
Adapt bos2k9_t to sd_host_t.

10 years agoActually add the ModelSim project file which was .gitignore'd.
Malte S. Stretz [Thu, 9 Jul 2009 12:49:34 +0000]
Actually add the ModelSim project file which was .gitignore'd.

10 years agoMove txt_util to a separate library.
Malte S. Stretz [Thu, 9 Jul 2009 12:48:48 +0000]
Move txt_util to a separate library.

10 years agoA template for a new ModelSim library.
Malte S. Stretz [Thu, 9 Jul 2009 12:44:38 +0000]
A template for a new ModelSim library.

Create a folder out/$LIBNAME and copy this file to out/$LIBNAME/_info.
Did I say that ModelSim sucks?

10 years agoAdd the ModelSim project.
Malte S. Stretz [Thu, 9 Jul 2009 12:02:25 +0000]
Add the ModelSim project.

Copy mgc_location_map.template to mgc_location_map and add the path to
this directory.  Oh, and the code in modelsim.tcl should work but
doesn't. Yes, ModelSim stuill sucks, just not as much anymore.

10 years agoClean up some project oddities.
Malte S. Stretz [Thu, 9 Jul 2009 09:50:55 +0000]
Clean up some project oddities.

10 years agoHanded in. 2_sd
Malte S. Stretz [Thu, 9 Jul 2009 08:49:50 +0000]
Handed in.

10 years agoThis data can be found in the bos2k9_t.dat.
Malte S. Stretz [Wed, 8 Jul 2009 14:11:51 +0000]
This data can be found in the bos2k9_t.dat.

10 years agoRemove images, they are embedded in the ODT file.
Malte S. Stretz [Wed, 8 Jul 2009 14:09:55 +0000]
Remove images, they are embedded in the ODT file.

10 years agoCopy docs from previous one.
Malte S. Stretz [Mon, 6 Jul 2009 12:54:11 +0000]
Copy docs from previous one.

10 years agoAdd a spi_filepath generic for better ModelSim/Quartus integration.
Malte S. Stretz [Mon, 6 Jul 2009 12:18:48 +0000]
Add a spi_filepath generic for better ModelSim/Quartus integration.

10 years agoFix up and synchronize the button entity.
Malte S. Stretz [Mon, 6 Jul 2009 12:18:12 +0000]
Fix up and synchronize the button entity.

10 years agoAdded inverted LED data output.
Malte S. Stretz [Mon, 6 Jul 2009 11:24:03 +0000]
Added inverted LED data output.

10 years agoA lot of interface documentation.
Malte S. Stretz [Sun, 5 Jul 2009 16:35:03 +0000]
A lot of interface documentation.

10 years agoA in the right place makes the testbench succeed!
Malte S. Stretz [Thu, 2 Jul 2009 15:02:55 +0000]
A in the right place makes the testbench succeed!

10 years agoTest a up to a failed read.
Malte S. Stretz [Thu, 2 Jul 2009 14:22:37 +0000]
Test a up to a failed read.

10 years agoA clocked button against slow fingers.
Malte S. Stretz [Thu, 2 Jul 2009 13:32:33 +0000]
A clocked button against slow fingers.

10 years agoFix the counter reset.
Malte S. Stretz [Thu, 2 Jul 2009 12:39:43 +0000]
Fix the counter reset.

10 years agoHold down the resetted/cs signal until after start state.
Malte S. Stretz [Wed, 1 Jul 2009 18:26:00 +0000]
Hold down the resetted/cs signal until after start state.

10 years agoSome better test data.
Malte S. Stretz [Wed, 1 Jul 2009 14:20:19 +0000]
Some better test data.

10 years agoFix test data header skipping.
Malte S. Stretz [Wed, 1 Jul 2009 14:20:05 +0000]
Fix test data header skipping.

10 years agoHandle the reset state in the driver, not the parser, triggered by another button.
Malte S. Stretz [Wed, 1 Jul 2009 13:52:18 +0000]
Handle the reset state in the driver, not the parser, triggered by another button.

10 years agoOops, wrong clock!
Malte S. Stretz [Wed, 1 Jul 2009 10:27:46 +0000]
Oops, wrong clock!

10 years agoWait for one clock.
Malte S. Stretz [Tue, 30 Jun 2009 23:29:54 +0000]
Wait for one clock.

10 years agoSimplify SPI slave.
Malte S. Stretz [Tue, 30 Jun 2009 23:27:12 +0000]
Simplify SPI slave.

10 years agoIncrement byte counter.
Malte S. Stretz [Tue, 30 Jun 2009 22:59:19 +0000]
Increment byte counter.

10 years agoFix up the SPI input.
Malte S. Stretz [Tue, 30 Jun 2009 22:38:31 +0000]
Fix up the SPI input.

10 years agoMark port signals with direction.
Malte S. Stretz [Tue, 30 Jun 2009 22:18:48 +0000]
Mark port signals with direction.

10 years agoThe SPI slave was broken.
Malte S. Stretz [Tue, 30 Jun 2009 22:16:32 +0000]
The SPI slave was broken.

10 years agoHardwire the unused buttons as well.
Malte S. Stretz [Tue, 30 Jun 2009 22:06:36 +0000]
Hardwire the unused buttons as well.

10 years agoSet read_during_write_mode_mixed_ports to OLD_DATA instead of DONT_CARE.
Malte S. Stretz [Tue, 30 Jun 2009 22:03:34 +0000]
Set read_during_write_mode_mixed_ports to OLD_DATA instead of DONT_CARE.

Seems to be assumed anyway.

10 years agoSet always-off switch to GND.
Malte S. Stretz [Tue, 30 Jun 2009 22:03:11 +0000]
Set always-off switch to GND.

10 years agoSwap LEDs.
Malte S. Stretz [Tue, 30 Jun 2009 22:02:50 +0000]
Swap LEDs.

10 years agoAdd the start button.
Malte S. Stretz [Tue, 30 Jun 2009 21:55:41 +0000]
Add the start button.

10 years agoFix the reset.
Malte S. Stretz [Tue, 30 Jun 2009 21:54:20 +0000]
Fix the reset.

10 years agoAdd more clean resets.
Malte S. Stretz [Tue, 30 Jun 2009 21:49:21 +0000]
Add more clean resets.

10 years agoThe testbench is getting better.
Malte S. Stretz [Tue, 30 Jun 2009 21:43:31 +0000]
The testbench is getting better.

10 years agoAdd empty stimulus data file.
Malte S. Stretz [Tue, 30 Jun 2009 20:39:47 +0000]
Add empty stimulus data file.

10 years agoMake ModelSim happy.
Malte S. Stretz [Tue, 30 Jun 2009 20:39:27 +0000]
Make ModelSim happy.

10 years agoGet ready to read stimulus from external data file.
Malte S. Stretz [Tue, 30 Jun 2009 18:52:05 +0000]
Get ready to read stimulus from external data file.

10 years agoAdd txt_util package.
Malte S. Stretz [Tue, 30 Jun 2009 16:39:05 +0000]
Add txt_util package.

10 years agoUse a proper reset switch and test clock-while-reset.
Malte S. Stretz [Tue, 30 Jun 2009 14:37:33 +0000]
Use a proper reset switch and test clock-while-reset.

10 years agoUpdate project file.
Malte S. Stretz [Tue, 30 Jun 2009 13:46:10 +0000]
Update project file.

10 years agoFix up error handling and testing.
Malte S. Stretz [Tue, 30 Jun 2009 13:21:56 +0000]
Fix up error handling and testing.

10 years agoWe don't need to reset command & argument explicitly, this is done by the state machine.
Malte S. Stretz [Tue, 30 Jun 2009 10:49:26 +0000]
We don't need to reset command & argument explicitly, this is done by the state machine.

10 years agoRename manager to flow and fix up the test.
Malte S. Stretz [Mon, 29 Jun 2009 22:20:35 +0000]
Rename manager to flow and fix up the test.

10 years agoInitialize command and argument; feels safer.
Malte S. Stretz [Mon, 29 Jun 2009 22:08:42 +0000]
Initialize command and argument; feels safer.

10 years agoMove counter into the parser.
Malte S. Stretz [Mon, 29 Jun 2009 21:59:28 +0000]
Move counter into the parser.

10 years agoConnect the error output.
Malte S. Stretz [Mon, 29 Jun 2009 21:43:15 +0000]
Connect the error output.

10 years agoA load of changes to fix a brainfart and get rid of an entity.
Malte S. Stretz [Mon, 29 Jun 2009 18:59:15 +0000]
A load of changes to fix a brainfart and get rid of an entity.

10 years agoAnd yet another state.
Malte S. Stretz [Mon, 29 Jun 2009 12:52:31 +0000]
And yet another state.

10 years agoTweak command encoding.
Malte S. Stretz [Mon, 29 Jun 2009 12:46:50 +0000]
Tweak command encoding.

10 years agoShow output (state) and input.
Malte S. Stretz [Mon, 29 Jun 2009 12:22:22 +0000]
Show output (state) and input.

10 years agoSample data flow.
Malte S. Stretz [Mon, 29 Jun 2009 12:06:10 +0000]
Sample data flow.

10 years agoReset (aka rewind) the counter, synchronized.
Malte S. Stretz [Sun, 28 Jun 2009 16:47:35 +0000]
Reset (aka rewind) the counter, synchronized.

10 years agoIgnore ModelSim wlf output.
Malte S. Stretz [Sun, 28 Jun 2009 16:23:41 +0000]
Ignore ModelSim wlf output.

10 years agoTest the short command first.
Malte S. Stretz [Sun, 28 Jun 2009 16:23:00 +0000]
Test the short command first.

10 years agoThat loop killed ModelSim.
Malte S. Stretz [Sun, 28 Jun 2009 16:17:20 +0000]
That loop killed ModelSim.

10 years agoReturn some data.
Malte S. Stretz [Sun, 28 Jun 2009 15:39:59 +0000]
Return some data.

10 years agoOne fine day we might create our ModelSim project files on demand.
Malte S. Stretz [Sun, 28 Jun 2009 15:33:34 +0000]
One fine day we might create our ModelSim project files on demand.

10 years agoRemove a stale dsf reference.
Malte S. Stretz [Sun, 28 Jun 2009 15:32:18 +0000]
Remove a stale dsf reference.

10 years agoMake ModelSim happy.
Malte S. Stretz [Sun, 28 Jun 2009 15:31:24 +0000]
Make ModelSim happy.

10 years agoA nicer stimulus.
Malte S. Stretz [Sun, 28 Jun 2009 11:42:32 +0000]
A nicer stimulus.

10 years agoPrepare the three test cases.
Malte S. Stretz [Sun, 28 Jun 2009 11:35:29 +0000]
Prepare the three test cases.

10 years agoTesting the sd_parser.
Malte S. Stretz [Sun, 28 Jun 2009 11:28:40 +0000]
Testing the sd_parser.

10 years agoIgnore more ModelSim stuff.
Malte S. Stretz [Sun, 28 Jun 2009 11:26:45 +0000]
Ignore more ModelSim stuff.

10 years agoMake ModelSim happy.
Malte S. Stretz [Sun, 28 Jun 2009 11:25:34 +0000]
Make ModelSim happy.

10 years agoSome small fixes.
Malte S. Stretz [Sat, 27 Jun 2009 21:24:41 +0000]
Some small fixes.

10 years agoThis is simpler than expected.
Malte S. Stretz [Sat, 27 Jun 2009 20:53:29 +0000]
This is simpler than expected.

10 years agoThis might work...
Malte S. Stretz [Sat, 27 Jun 2009 20:52:48 +0000]
This might work...

10 years agoUse constants for command type identification.
Malte S. Stretz [Sat, 27 Jun 2009 20:34:44 +0000]
Use constants for command type identification.

10 years agoShift the pipe.
Malte S. Stretz [Sat, 27 Jun 2009 20:20:26 +0000]
Shift the pipe.

10 years agoThis state skips, it doesn't dump.
Malte S. Stretz [Sat, 27 Jun 2009 19:24:23 +0000]
This state skips, it doesn't dump.

10 years agoSome refactoring and yet another state machine.
Malte S. Stretz [Sat, 27 Jun 2009 19:14:35 +0000]
Some refactoring and yet another state machine.

10 years agoIntroducing another state to dump the 2 byte read CRC.
Malte S. Stretz [Sat, 27 Jun 2009 17:19:22 +0000]
Introducing another state to dump the 2 byte read CRC.

10 years agoUn-latch SD IO busy flag and make it count to N instead of N-1.
Malte S. Stretz [Sat, 27 Jun 2009 16:44:08 +0000]
Un-latch SD IO busy flag and make it count to N instead of N-1.

10 years agoUse easier to verify numbers.
Malte S. Stretz [Sat, 27 Jun 2009 15:19:10 +0000]
Use easier to verify numbers.

10 years agoTesting the SD IO (looks good).
Malte S. Stretz [Sat, 27 Jun 2009 14:18:19 +0000]
Testing the SD IO (looks good).

10 years agoQuartus sucks so much.
Malte S. Stretz [Sat, 27 Jun 2009 14:03:03 +0000]
Quartus sucks so much.

10 years agoOops.
Malte S. Stretz [Sat, 27 Jun 2009 14:02:16 +0000]
Oops.

10 years agoSplit the SPI translator into two entities.
Malte S. Stretz [Fri, 26 Jun 2009 16:30:44 +0000]
Split the SPI translator into two entities.

10 years agoMerge branch 'master' of git@github.com:mss/vhdl-bos2k9
Malte S. Stretz [Fri, 26 Jun 2009 16:03:16 +0000]
Merge branch 'master' of git@github.com:mss/vhdl-bos2k9

10 years agoThe frame->SPI translator.
Malte S. Stretz [Fri, 26 Jun 2009 16:01:55 +0000]
The frame->SPI translator.

10 years agoUp to 4 GiB (instead of 2 GiB).
Malte S. Stretz [Fri, 26 Jun 2009 14:49:47 +0000]
Up to 4 GiB (instead of 2 GiB).

10 years agoFix up error flag and tests.
Malte S. Stretz [Fri, 26 Jun 2009 13:58:10 +0000]
Fix up error flag and tests.

10 years agoFix shift state transition.
Malte S. Stretz [Fri, 26 Jun 2009 12:52:35 +0000]
Fix shift state transition.

10 years agoA busy flag would be nice.
Malte S. Stretz [Fri, 26 Jun 2009 12:49:14 +0000]
A busy flag would be nice.

10 years agoTest this crap.
Malte S. Stretz [Fri, 26 Jun 2009 12:35:50 +0000]
Test this crap.

10 years agoFixup test.
Malte S. Stretz [Fri, 26 Jun 2009 11:57:16 +0000]
Fixup test.

10 years agoMake ModelSim happy.
Malte S. Stretz [Fri, 26 Jun 2009 11:52:17 +0000]
Make ModelSim happy.

10 years agoBig big state machine.
Malte S. Stretz [Thu, 25 Jun 2009 23:31:09 +0000]
Big big state machine.

10 years agoUuhhh... code.
Malte S. Stretz [Thu, 25 Jun 2009 21:07:25 +0000]
Uuhhh... code.