Design Specification Template
Design Specification Template
Author
Date 2017/03/28
Version 1.1
Page 0
Renesas Group Confidential
RTL_Exercise1 Bound Flasher
Contents
1. Interface..............................................................................................................................................................................2
2. Functional implementation.................................................................................................................................................3
3. Internal implementation......................................................................................................................................................5
3.1. Overall..........................................................................................................................................................................5
3.2. State Machine...............................................................................................................................................................6
4. History.................................................................................................................................................................................7
Page 1
RTL_Exercise1 Bound Flasher
1. Interface
aaa
ddd
module_name
bbb 16
ccc
Page 2
RTL_Exercise1 Bound Flasher
2. Functional implementation.
Implement a 16-bits LEDs system
System’s Operation base on three input signal
Reset
Clock
Flick
The system specification
Clock signal is provided for system inspire of function status. The function operate state’s
transition at positive edge of the clock signal.
Reset signal:
o LOW-ACTIVE Reset = 0: System is restarted to Initial State.
o HIGH-ACTIVE Reset = 1: System is started with initial state.
Flick signal: special input for controlling state transfer.
At the initial state, all lamps are OFF. If flick signal is ACTIVE, the flasher start operating:
The lamps are turned ON gradually from LEDs [0] to LEDs [15].
The LEDSs are turned OFF gradually from LEDs [15] to LEDs [5].
The LEDSs are turned ON gradually from LEDs [5] to LEDs [10].
The LEDSs are turned OFF gradually from LEDs [10] to LEDs [0].
The LEDSs are turned ON gradually from LEDs [0] to LEDs [5].
Finally, the LEDs s are turned OFF gradually from LEDSs [5] to LEDSs [0], return to
initial state.
Additional condition: At each kickback point (LEDs [5] and LEDs [0]), if flick signal is
ACTIVE, the LEDs will go back and repeat that STATE. For simple, kickback point is
considered only when the LEDs s are turned OFF gradually, except final state.
Page 3
RTL_Exercise1 Bound Flasher
Some insulations:
When flick = 0 at kickback points
Page 4
RTL_Exercise1 Bound Flasher
3. Internal implementation.
3.1. Overall.
Page 5
RTL_Exercise1 Bound Flasher
3.2. State Machine
Page 6
RTL_Exercise1 Bound Flasher
4. History
Page 7