mirror of
https://github.com/freitz85/AppleIISd.git
synced 2024-11-28 23:49:19 +00:00
Expected results added to AddressDecoder simulation
This commit is contained in:
parent
7a0480f05e
commit
70c0c118fc
@ -128,8 +128,10 @@ BEGIN
|
|||||||
NRESET <= '1';
|
NRESET <= '1';
|
||||||
wait for CLK_period * 10;
|
wait for CLK_period * 10;
|
||||||
|
|
||||||
-- insert stimulus here
|
|
||||||
-- C0nX access
|
-- C0nX access
|
||||||
|
-- NG must be '0"
|
||||||
|
-- NOE must be '1'
|
||||||
|
-- NWE must be '1'
|
||||||
A <= "0000"; -- must become "000"
|
A <= "0000"; -- must become "000"
|
||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
NDEV_SEL <= '0';
|
NDEV_SEL <= '0';
|
||||||
@ -137,7 +139,10 @@ BEGIN
|
|||||||
NDEV_SEL <= '1';
|
NDEV_SEL <= '1';
|
||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
|
|
||||||
-- CnXX access
|
-- CnXX access, select
|
||||||
|
-- NG must be '0'
|
||||||
|
-- NOE must be '0'
|
||||||
|
-- NWE must be '1'
|
||||||
A <= "0100"; -- must become "000"
|
A <= "0100"; -- must become "000"
|
||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
NIO_SEL <= '0';
|
NIO_SEL <= '0';
|
||||||
@ -146,6 +151,9 @@ BEGIN
|
|||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
|
|
||||||
-- C8xx access, selected
|
-- C8xx access, selected
|
||||||
|
-- NG must be '0'
|
||||||
|
-- NOE must be '0'
|
||||||
|
-- NWE must be '1'
|
||||||
A <= "1000"; -- must become "001"
|
A <= "1000"; -- must become "001"
|
||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
NIO_STB <= '0';
|
NIO_STB <= '0';
|
||||||
@ -154,6 +162,9 @@ BEGIN
|
|||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
|
|
||||||
-- C8xx write access, selected
|
-- C8xx write access, selected
|
||||||
|
-- NG must be '0'
|
||||||
|
-- NOE must be '1'
|
||||||
|
-- NWE must be '0'
|
||||||
RNW <= '0';
|
RNW <= '0';
|
||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
NIO_STB <= '0';
|
NIO_STB <= '0';
|
||||||
@ -162,6 +173,9 @@ BEGIN
|
|||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
|
|
||||||
-- C9xx access, selected
|
-- C9xx access, selected
|
||||||
|
-- NG must be '0'
|
||||||
|
-- NOE must be '0'
|
||||||
|
-- NWE must be '1'
|
||||||
RNW <= '1';
|
RNW <= '1';
|
||||||
A <= "1001"; -- must become "010"
|
A <= "1001"; -- must become "010"
|
||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
@ -171,6 +185,9 @@ BEGIN
|
|||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
|
|
||||||
-- C9xx access write, selected
|
-- C9xx access write, selected
|
||||||
|
-- NG must be '0'
|
||||||
|
-- NOE must be '1'
|
||||||
|
-- NWE must be '0'
|
||||||
RNW <= '0';
|
RNW <= '0';
|
||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
NIO_STB <= '0';
|
NIO_STB <= '0';
|
||||||
@ -179,6 +196,9 @@ BEGIN
|
|||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
|
|
||||||
-- CPLD access
|
-- CPLD access
|
||||||
|
-- NG must be '0'
|
||||||
|
-- NOE must be '1'
|
||||||
|
-- NWE must be '1'
|
||||||
RNW <= '1';
|
RNW <= '1';
|
||||||
A <= "0101"; -- must become "000"
|
A <= "0101"; -- must become "000"
|
||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
@ -188,6 +208,9 @@ BEGIN
|
|||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
|
|
||||||
-- CFFF access
|
-- CFFF access
|
||||||
|
-- NG must be '1'
|
||||||
|
-- NOE must be '1'
|
||||||
|
-- NWE must be '1'
|
||||||
A <= "1111"; -- must become "111"
|
A <= "1111"; -- must become "111"
|
||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
NIO_STB <= '0';
|
NIO_STB <= '0';
|
||||||
@ -196,6 +219,9 @@ BEGIN
|
|||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
|
|
||||||
-- C8xx access, unselected
|
-- C8xx access, unselected
|
||||||
|
-- NG must be '1'
|
||||||
|
-- NOE must be '1'
|
||||||
|
-- NWE must be '1'
|
||||||
A <= "1000"; -- must become "001"
|
A <= "1000"; -- must become "001"
|
||||||
wait until rising_edge(PHI0);
|
wait until rising_edge(PHI0);
|
||||||
NIO_STB <= '0';
|
NIO_STB <= '0';
|
||||||
|
@ -16,35 +16,28 @@
|
|||||||
|
|
||||||
<files>
|
<files>
|
||||||
<file xil_pn:name="SpiController.vhd" xil_pn:type="FILE_VHDL">
|
<file xil_pn:name="SpiController.vhd" xil_pn:type="FILE_VHDL">
|
||||||
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="1"/>
|
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="0"/>
|
||||||
<association xil_pn:name="Implementation" xil_pn:seqID="1"/>
|
<association xil_pn:name="Implementation" xil_pn:seqID="1"/>
|
||||||
</file>
|
</file>
|
||||||
<file xil_pn:name="AppleIISd.ucf" xil_pn:type="FILE_UCF">
|
<file xil_pn:name="AppleIISd.ucf" xil_pn:type="FILE_UCF">
|
||||||
<association xil_pn:name="Implementation" xil_pn:seqID="0"/>
|
<association xil_pn:name="Implementation" xil_pn:seqID="0"/>
|
||||||
</file>
|
</file>
|
||||||
<file xil_pn:name="AppleIISd.vhd" xil_pn:type="FILE_VHDL">
|
<file xil_pn:name="AppleIISd.vhd" xil_pn:type="FILE_VHDL">
|
||||||
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="3"/>
|
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="0"/>
|
||||||
<association xil_pn:name="Implementation" xil_pn:seqID="3"/>
|
<association xil_pn:name="Implementation" xil_pn:seqID="3"/>
|
||||||
</file>
|
</file>
|
||||||
<file xil_pn:name="AppleIISd_Test.vhd" xil_pn:type="FILE_VHDL">
|
<file xil_pn:name="AppleIISd_Test.vhd" xil_pn:type="FILE_VHDL">
|
||||||
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="4"/>
|
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="0"/>
|
||||||
<association xil_pn:name="PostRouteSimulation" xil_pn:seqID="72"/>
|
<association xil_pn:name="PostRouteSimulation" xil_pn:seqID="72"/>
|
||||||
</file>
|
</file>
|
||||||
<file xil_pn:name="AddressDecoder.vhd" xil_pn:type="FILE_VHDL">
|
<file xil_pn:name="AddressDecoder.vhd" xil_pn:type="FILE_VHDL">
|
||||||
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="2"/>
|
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="1"/>
|
||||||
<association xil_pn:name="Implementation" xil_pn:seqID="2"/>
|
<association xil_pn:name="Implementation" xil_pn:seqID="2"/>
|
||||||
</file>
|
</file>
|
||||||
<file xil_pn:name="AddressDecoder_Test.vhd" xil_pn:type="FILE_VHDL">
|
<file xil_pn:name="AddressDecoder_Test.vhd" xil_pn:type="FILE_VHDL">
|
||||||
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="0"/>
|
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="2"/>
|
||||||
<association xil_pn:name="PostRouteSimulation" xil_pn:seqID="230"/>
|
<association xil_pn:name="PostRouteSimulation" xil_pn:seqID="230"/>
|
||||||
</file>
|
</file>
|
||||||
<file xil_pn:name="AddressDecoder_old.sch" xil_pn:type="FILE_SCHEMATIC">
|
|
||||||
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="0"/>
|
|
||||||
</file>
|
|
||||||
<file xil_pn:name="AddressDecoder_old_Test.vhd" xil_pn:type="FILE_VHDL">
|
|
||||||
<association xil_pn:name="BehavioralSimulation" xil_pn:seqID="0"/>
|
|
||||||
<association xil_pn:name="PostRouteSimulation" xil_pn:seqID="52"/>
|
|
||||||
</file>
|
|
||||||
</files>
|
</files>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
@ -159,8 +152,8 @@
|
|||||||
<property xil_pn:name="Run for Specified Time" xil_pn:value="true" xil_pn:valueState="default"/>
|
<property xil_pn:name="Run for Specified Time" xil_pn:value="true" xil_pn:valueState="default"/>
|
||||||
<property xil_pn:name="Run for Specified Time Par" xil_pn:value="true" xil_pn:valueState="default"/>
|
<property xil_pn:name="Run for Specified Time Par" xil_pn:value="true" xil_pn:valueState="default"/>
|
||||||
<property xil_pn:name="Safe Implementation" xil_pn:value="No" xil_pn:valueState="default"/>
|
<property xil_pn:name="Safe Implementation" xil_pn:value="No" xil_pn:valueState="default"/>
|
||||||
<property xil_pn:name="Selected Module Instance Name" xil_pn:value="/AppleIISd_Test" xil_pn:valueState="non-default"/>
|
<property xil_pn:name="Selected Module Instance Name" xil_pn:value="/AddressDecoder_Test" xil_pn:valueState="non-default"/>
|
||||||
<property xil_pn:name="Selected Simulation Root Source Node Behavioral" xil_pn:value="work.AppleIISd_Test" xil_pn:valueState="non-default"/>
|
<property xil_pn:name="Selected Simulation Root Source Node Behavioral" xil_pn:value="work.AddressDecoder_Test" xil_pn:valueState="non-default"/>
|
||||||
<property xil_pn:name="Selected Simulation Root Source Node Post-Route" xil_pn:value="" xil_pn:valueState="default"/>
|
<property xil_pn:name="Selected Simulation Root Source Node Post-Route" xil_pn:value="" xil_pn:valueState="default"/>
|
||||||
<property xil_pn:name="Selected Simulation Source Node" xil_pn:value="UUT" xil_pn:valueState="default"/>
|
<property xil_pn:name="Selected Simulation Source Node" xil_pn:value="UUT" xil_pn:valueState="default"/>
|
||||||
<property xil_pn:name="Show All Models" xil_pn:value="false" xil_pn:valueState="default"/>
|
<property xil_pn:name="Show All Models" xil_pn:value="false" xil_pn:valueState="default"/>
|
||||||
@ -170,7 +163,7 @@
|
|||||||
<property xil_pn:name="Simulation Run Time Par" xil_pn:value="1000 ns" xil_pn:valueState="default"/>
|
<property xil_pn:name="Simulation Run Time Par" xil_pn:value="1000 ns" xil_pn:valueState="default"/>
|
||||||
<property xil_pn:name="Simulator" xil_pn:value="ISim (VHDL/Verilog)" xil_pn:valueState="default"/>
|
<property xil_pn:name="Simulator" xil_pn:value="ISim (VHDL/Verilog)" xil_pn:valueState="default"/>
|
||||||
<property xil_pn:name="Specify 'define Macro Name and Value" xil_pn:value="" xil_pn:valueState="default"/>
|
<property xil_pn:name="Specify 'define Macro Name and Value" xil_pn:value="" xil_pn:valueState="default"/>
|
||||||
<property xil_pn:name="Specify Top Level Instance Names Behavioral" xil_pn:value="work.AppleIISd_Test" xil_pn:valueState="default"/>
|
<property xil_pn:name="Specify Top Level Instance Names Behavioral" xil_pn:value="work.AddressDecoder_Test" xil_pn:valueState="default"/>
|
||||||
<property xil_pn:name="Specify Top Level Instance Names Fit" xil_pn:value="Default" xil_pn:valueState="default"/>
|
<property xil_pn:name="Specify Top Level Instance Names Fit" xil_pn:value="Default" xil_pn:valueState="default"/>
|
||||||
<property xil_pn:name="Speed Grade" xil_pn:value="-10" xil_pn:valueState="non-default"/>
|
<property xil_pn:name="Speed Grade" xil_pn:value="-10" xil_pn:valueState="non-default"/>
|
||||||
<property xil_pn:name="Synthesis Tool" xil_pn:value="XST (VHDL/Verilog)" xil_pn:valueState="default"/>
|
<property xil_pn:name="Synthesis Tool" xil_pn:value="XST (VHDL/Verilog)" xil_pn:valueState="default"/>
|
||||||
@ -205,7 +198,7 @@
|
|||||||
<!-- -->
|
<!-- -->
|
||||||
<!-- The following properties are for internal use only. These should not be modified.-->
|
<!-- The following properties are for internal use only. These should not be modified.-->
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<property xil_pn:name="PROP_BehavioralSimTop" xil_pn:value="Architecture|AppleIISd_Test|behavior" xil_pn:valueState="non-default"/>
|
<property xil_pn:name="PROP_BehavioralSimTop" xil_pn:value="Architecture|AddressDecoder_Test|behavior" xil_pn:valueState="non-default"/>
|
||||||
<property xil_pn:name="PROP_DesignName" xil_pn:value="AppleIISd" xil_pn:valueState="non-default"/>
|
<property xil_pn:name="PROP_DesignName" xil_pn:value="AppleIISd" xil_pn:valueState="non-default"/>
|
||||||
<property xil_pn:name="PROP_DevFamilyPMName" xil_pn:value="xc9500xl" xil_pn:valueState="default"/>
|
<property xil_pn:name="PROP_DevFamilyPMName" xil_pn:value="xc9500xl" xil_pn:valueState="default"/>
|
||||||
<property xil_pn:name="PROP_PostFitSimTop" xil_pn:value="" xil_pn:valueState="default"/>
|
<property xil_pn:name="PROP_PostFitSimTop" xil_pn:value="" xil_pn:valueState="default"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user