// 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
|
May 18,2010
|
|
RTL - Fixed xlink synthesis warnings noted by Nachiket Jugade,
|
|
missing else statment for chid_sm_ns line 393,
|
|
missing default on shifter lines 2382 (Although all cases are covered).
|
|
|
|
Testbench - No Change.
|
|
|
|
Doc - No Change.
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// SVN tag: None
|
|
|
May 13,2010
|
May 13,2010
|
RTL - Code cleanup. Eliminated index [0] of "xgif" and "chan_req_i" output and
|
RTL - Code cleanup. Eliminated index [0] of "xgif" and "chan_req_i" output and
|
input pins along with assoicated status and and control registers. This
|
input pins along with assoicated status and and control registers. This
|
channel has never been usable.
|
channel has never been usable.
|
|
|
Testbench - Changes to match changes in RTL .
|
Testbench - Changes to match changes in RTL .
|
|
|
Doc - No Change.
|
Doc - No Change.
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
May 12,2010
|
May 12,2010
|
RTL - Added new control registers for interrupt bypass function. Out of reset
|
RTL - Added new control registers for interrupt bypass function. Out of reset
|
all input interrupts are bypassed directly to the Xgate interrupt outputs.
|
all input interrupts are bypassed directly to the Xgate interrupt outputs.
|
The interrupts are also disabled from effecting the Xgate till the bypass
|
The interrupts are also disabled from effecting the Xgate till the bypass
|
is disabled. The interrupt priority has been flipped so that now the lowest
|
is disabled. The interrupt priority has been flipped so that now the lowest
|
index input interrupt has the highest priority.
|
index input interrupt has the highest priority.
|
|
|
Testbench - Added semaphore register and read only registers to observe irq
|
Testbench - Added semaphore register and read only registers to observe irq
|
outputs of Xgate to testbench slave module. Added parameters to support new
|
outputs of Xgate to testbench slave module. Added parameters to support new
|
Xgate registers and testbench registers. Added new test to checkout
|
Xgate registers and testbench registers. Added new test to checkout
|
bypass functionality and interrupt priority encoding.
|
bypass functionality and interrupt priority encoding.
|
|
|
Doc - Updated with additions of IRQ Bypass registers.
|
Doc - Updated with additions of IRQ Bypass registers.
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
Apr 22,2010
|
Apr 22,2010
|
RTL - Fixed bug when entering DEBUG by command from the slave WISHBONE bus.
|
RTL - Fixed bug when entering DEBUG by command from the slave WISHBONE bus.
|
All tests now pass when the RAM wait states are set from zero to four. Five
|
All tests now pass when the RAM wait states are set from zero to four. Five
|
wait states times out in simulation while running the last test which is
|
wait states times out in simulation while running the last test which is
|
a simple register test otherwise I expect it would pass.
|
a simple register test otherwise I expect it would pass.
|
|
|
Testbench - Many of the failures while testing wait states were due to fixed
|
Testbench - Many of the failures while testing wait states were due to fixed
|
delays coded in the testbench. As necessary delays were changed to be a
|
delays coded in the testbench. As necessary, delays were changed to be a
|
function of a parameter that is based on the number of RAM wait states.
|
function of a parameter that is based on the number of RAM wait states.
|
|
|
Doc - No change.
|
Doc - No change.
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
Apr 5,2010
|
Apr 5,2010
|
RTL - First pass at fixing bug when entering DEBUG by command from the slave
|
RTL - First pass at fixing bug when entering DEBUG by command from the slave
|
WISHBONE bus. All tests now pass when the RAM wait states are set to zero,
|
WISHBONE bus. All tests now pass when the RAM wait states are set to zero,
|
although there are errors in DEBUG mode when RAM wait states are increased.
|
although there are errors in DEBUG mode when RAM wait states are increased.
|
Icarus Verilog version 0.9.2 now supports the "generate" command. This is
|
Icarus Verilog version 0.9.2 now supports the "generate" command. This is
|
now used to instantiate the semaphore registers.
|
now used to instantiate the semaphore registers.
|
|
|
Testbench - Added capability to insert wait states on RAM access.
|
Testbench - Added capability to insert wait states on RAM access.
|
|
|
Doc - No change.
|
Doc - No change.
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
Feb 12,2010
|
Feb 12,2010
|
RTL - Update to the WISHBONE interface when wait states are enabled to trade
|
RTL - Update to the WISHBONE interface when wait states are enabled to trade
|
16 data flops for 5 address registers. This change now also requires single
|
16 data flops for 5 address registers. This change now also requires single
|
cycle timing on the WISHBONE address bus, multi-cycle timing is still
|
cycle timing on the WISHBONE address bus, multi-cycle timing is still
|
allowed on the WISHBONE write data bus. In the old design WISHBONE read
|
allowed on the WISHBONE write data bus. In the old design WISHBONE read
|
cycles required the address to be decoded and the read data to be latched
|
cycles required the address to be decoded and the read data to be latched
|
in the first cycle and the there was a whole cycle to drive the read data
|
in the first cycle and the there was a whole cycle to drive the read data
|
bus. The new design latches the address in the first cycle then decodes the
|
bus. The new design latches the address in the first cycle then decodes the
|
address and outputs the data in the second cycle. (The WISHBONE bus doesn't
|
address and outputs the data in the second cycle. (The WISHBONE bus doesn't
|
require the address or data to be latched for multi-cycle operation but by
|
require the address or data to be latched for multi-cycle operation but by
|
doing this it is hoped some power will be saved in the combinational logic
|
doing this it is hoped some power will be saved in the combinational logic
|
by reducing the decoding activity at each address change.)
|
by reducing the decoding activity at each address change.)
|
|
|
Testbench - No change.
|
Testbench - No change.
|
|
|
Doc - No change.
|
Doc - No change.
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
Jan 27,2010
|
Jan 27,2010
|
RTL - 85% done -- Fixed error in wbs_ack_o signal when Xgate wait states were
|
RTL - 85% done -- Fixed error in wbs_ack_o signal when Xgate wait states were
|
enabled. If a slave bus transaction was started but not completed in the
|
enabled. If a slave bus transaction was started but not completed in the
|
second cycle a wbs_ack_o output was still generated. Added a wbs_err_o output
|
second cycle a wbs_ack_o output was still generated. Added a wbs_err_o output
|
signal to flag this input condition but not sure if it is really needed.
|
signal to flag this input condition but not sure if it is really needed.
|
The old testbench was "helping" the Xgate module by sending an almost
|
The old testbench was "helping" the Xgate module by sending an almost
|
continuous wbm_ack_i signal which allowed the RISC state machine to advance
|
continuous wbm_ack_i signal which allowed the RISC state machine to advance
|
when it shouldn't. Changes were made to the WISHBONE master bus interface
|
when it shouldn't. Changes were made to the WISHBONE master bus interface
|
and the RISC control logic.
|
and the RISC control logic.
|
|
|
Updates to testbench -- Extensive changes to testbench. The bus arbitration
|
Updates to testbench -- Extensive changes to testbench. The bus arbitration
|
module has been completely rewritten. It now completely controls access to the
|
module has been completely rewritten. It now completely controls access to the
|
system bus and RAM. It internally generates a WISHBONE ack signal for the RAM.
|
system bus and RAM. It internally generates a WISHBONE ack signal for the RAM.
|
The test control registers have been moved out of the top level and put into
|
The test control registers have been moved out of the top level and put into
|
a new WISHBONE slave module which also attaches to the system bus. The Xgate
|
a new WISHBONE slave module which also attaches to the system bus. The Xgate
|
modules master and slave buses are fully integrated with the bus arbitration
|
modules master and slave buses are fully integrated with the bus arbitration
|
module and the system bus. The new testbench looks a lot more like a real
|
module and the system bus. The new testbench looks a lot more like a real
|
system environment.
|
system environment.
|
To Do: Add back "random" wait state generation for RAM access.
|
To Do: Add back "random" wait state generation for RAM access.
|
|
|
Updates to User Guide -- Minor corrections to instruction set details. Needs more
|
Updates to User Guide -- Minor corrections to instruction set details. Needs more
|
review on condition code settings.
|
review on condition code settings.
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
Jan 11,2010
|
Jan 11,2010
|
RTL - 85% done -- Fix error in Zero Flag calculation for ADC and SBC instructions
|
RTL - 85% done -- Fix error in Zero Flag calculation for ADC and SBC instructions
|
Fix Error in loading R2 durning cpu_state == BOOT_3.
|
Fix Error in loading R2 durning cpu_state == BOOT_3.
|
THere is a bug in DEBUG mode that is sensitive to number of preceding
|
THere is a bug in DEBUG mode that is sensitive to number of preceding
|
instructions and wait states that needs to be resolved.
|
instructions and wait states that needs to be resolved.
|
|
|
Updates to testbench --
|
Updates to testbench --
|
|
|
Updates to User Guide -- First pass with instruction set details. Needs more
|
Updates to User Guide -- First pass with instruction set details. Needs more
|
review on condition code settings.
|
review on condition code settings.
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
Dec 08,2009
|
Dec 08,2009
|
RTL - 85% done -- Updated code so there is only one program counter adder.
|
RTL - 85% done -- Updated code so there is only one program counter adder.
|
Updated WISHBONE Slave bus for word addressability and byte selection.
|
Updated WISHBONE Slave bus for word addressability and byte selection.
|
Deleted two stack pointer registers.
|
Deleted two stack pointer registers.
|
|
|
Updates to testbench --
|
Updates to testbench --
|
|
|
Updates to User Guide -- Minor cleanup.
|
Updates to User Guide -- Minor cleanup.
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
Nov 09,2009
|
Nov 09,2009
|
RTL - 85% done - Minor changes to Mastermode bus.
|
RTL - 85% done - Minor changes to Mastermode bus.
|
|
|
Updates to testbench, Moved RAM.to submodule, Added bus arbitration module
|
Updates to testbench, Moved RAM.to submodule, Added bus arbitration module
|
but this is not fully functional. Causes timing problems when master is
|
but this is not fully functional. Causes timing problems when master is
|
polling Xgate registers durning debug mode tests. Will probably change RAM
|
polling Xgate registers durning debug mode tests. Will probably change RAM
|
model to dual port in next revision.
|
model to dual port in next revision.
|
Updated master module to include WISHBONE select inputs.
|
Updated master module to include WISHBONE select inputs.
|
|
|
Updates to User Guide.
|
Updates to User Guide.
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
Oct 07,2009
|
Oct 07,2009
|
RTL - 85% done
|
RTL - 85% done
|
All debug commands now working, including writes to XGCHID register.
|
All debug commands now working, including writes to XGCHID register.
|
|
|
Updates to testbench, added timeout and total error count.
|
Updates to testbench, added timeout and total error count.
|
|
|
Updates to User Guide --.
|
Updates to User Guide --.
|
|
|
Created the sw directory and copied over the software stuff from the bench
|
Created the sw directory and copied over the software stuff from the bench
|
directory.
|
directory.
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
Sept 23,2009
|
Sept 23,2009
|
BRK instruction working. Single Step Command in debug mode working.
|
BRK instruction working. Single Step Command in debug mode working.
|
Software error interrupt added.
|
Software error interrupt added.
|
|
|
Updates to testbench.
|
Updates to testbench.
|
New assembly code directory: debug_test
|
New assembly code directory: debug_test
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
Sept 10,2009
|
Sept 10,2009
|
Added WISHBONE master bus submodule and some related top level signals but still
|
Added WISHBONE master bus submodule and some related top level signals but still
|
not much real functionality.
|
not much real functionality.
|
|
|
Added code to allow for memory access stalls.
|
Added code to allow for memory access stalls.
|
|
|
Upgraded testbench to insert memory wait states. Added more error detection
|
Upgraded testbench to insert memory wait states. Added more error detection
|
and summery.
|
and summery.
|
|
|
Improved instruction decoder. Still needs more work to remove redundant adders
|
Improved instruction decoder. Still needs more work to remove redundant adders
|
to improve synthesis results.
|
to improve synthesis results.
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
// SVN tag: None
|
// SVN tag: None
|
|
|
Sept 1, 2009
|
Sept 1, 2009
|
This is a prerelease checkin and should be looked at as an incremental backup
|
This is a prerelease checkin and should be looked at as an incremental backup
|
and not representative of what may be in the final release.
|
and not representative of what may be in the final release.
|
|
|
RTL - 75% done
|
RTL - 75% done
|
What works:
|
What works:
|
Basic instruction set execution simulated and verified. Condition code
|
Basic instruction set execution simulated and verified. Condition code
|
operation on instructions partially verified.
|
operation on instructions partially verified.
|
|
|
Basic WISHBONE slave bus operation used, full functionality not verified.
|
Basic WISHBONE slave bus operation used, full functionality not verified.
|
|
|
What's broken or unimplemented:
|
What's broken or unimplemented:
|
All things related to debug mode.
|
All things related to debug mode.
|
WISHBONE master bus interface.
|
WISHBONE master bus interface.
|
|
|
User Documentation - 30% done
|
User Documentation - 30% done
|
|
|
|
|