Difference: SoftwareImplementation (r2 vs. r1)

r2 - 23 Jul 2008 - 14:32 - AttilioTarantola r1 - 22 Jul 2008 - 20:40 - AttilioTarantola
  

Display

- Cornelius Kleiner and Christian Kern - 22 Jul 2008

- Cornelius Kleiner and Christian Kern - 22 Jul 2008

  

description

entity Description

  

The entity has 4 Inputs and 3 Outputs.

The Entity has 4 Inputs and 3 Outputs.

  
Input Bits Function Output Bits Funktion
CLPD_CLK 1 Clock DISP_A_d 2 Adress Output
CHOOSE 1 Choose between displaying a predefined output and a 16 bit hexadecimal number DISP_D_d 8 Data output
ENTRY_IN 4 Choose predefined output DISP_WR_d 1 Write Signal Output
ENTRY_SAVE_IN 16 Hexadecimal number
Input Bits Function Output Bits Funktion
CLPD_CLK 1 Clock DISP_A_d 2 Adress Output
CHOOSE 1 Choose between displaying a predefined Output and a 16 bit hexadecimal number DISP_D_d 8 Data Output
ENTRY_IN 4 Choose predefined Output DISP_WR_d 1 Write Signal Output
ENTRY_SAVE_IN 16 Hexadecimal number

To choose between several predefined Outputs by setting ENTRY_IN, set CHOOSE to 1. Predefined Outputs:

To choose between several predefined Outputs by setting ENTRY_IN, set CHOOSE to 1. Predefined Outputs:

valuedisplayed word
0000 BUSY
0001 LVL1
0010 LVL2
0011 ERROR
0100 CALIBRATE
valuedisplayed word
0000 BUSY
0001 LVL1
0010 LVL2
0011 ERROR
0100 CALIBRATE
  

More predefined outputs can eventually be added.

More predefined Outputs can eventually be added.

To display your own 16bit hexadecimal number, set CHOOSE to 0 and put your number to ENTRY_SAVE_IN.

To display your own 16bit hexadecimal number, set CHOOSE to 0 and put your number to ENTRY_SAVE_IN.

code

code

  

Event Counter

IAttachmentActionSizeDateWhoComment
display_ctrl.vhdvhddisplay_ctrl.vhdmanage 16.8 K 22 Jul 2008 - 20:43AttilioTarantola display VHDL source code
  

description

  

The entity has 4 Inputs and 3 Outputs.

  
Input Bits Function Output Bits Funktion
CLPD_CLK 1 Clock ENTRY_SAVE_OUT 16 Display Output
ENABLE_COUNTER_IN 1 Enable counter
RESET_COUNTER_IN 1 Reset counter
  

To count an event set ENABLE_COUNTER_IN to '1' for 10ns. To reset the counter set RESET_COUNTER_IN to '1'.

  

To display the number of events put ENTRY_SAVE_OUT to ENTRY_SAVE_IN of display_ctrl and set CHOOSE to '0'.

  

code

  
IAttachmentActionSizeDateWhoComment
display_ctrl.vhdvhddisplay_ctrl.vhdmanage 16.8 K 22 Jul 2008 - 20:43AttilioTarantola display VHDL source code
r2 - 23 Jul 2008 - 14:32 - AttilioTarantola r1 - 22 Jul 2008 - 20:40 - AttilioTarantola

View topic | View difference interwoven | History: r4 < r3 < r2 < r1 | More topic actions
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Hades Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)