Powered by Foswiki, The Free and Open Source Wiki

Difference: SoftwareImplementation (r2 vs. r1)

Display

- Cornelius Kleiner and Christian Kern - 22 Jul 2008

entity description Description

The Entity 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 output and a 16 bit hexadecimal number DISP_D_d 8 Data Output output
ENTRY_IN 4 Choose predefined Output 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:

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

More predefined Outputs outputs can eventually be added.

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

code

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

Event Counter

description

The entity has 4 Inputs and 3 Outputs.

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

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

Revision r2 - 23 Jul 2008 - 14:32 - AttilioTarantola
Revision r1 - 22 Jul 2008 - 20:40 - AttilioTarantola
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)