|
1 |
| -///////////////////////////////////////////////////////////////// |
2 |
| -// // |
3 |
| -// ██████╗ ██████╗ █████╗ // |
4 |
| -// ██╔══██╗██╔═══██╗██╔══██╗ // |
5 |
| -// ██████╔╝██║ ██║███████║ // |
6 |
| -// ██╔══██╗██║ ██║██╔══██║ // |
7 |
| -// ██║ ██║╚██████╔╝██║ ██║ // |
8 |
| -// ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ // |
9 |
| -// ██╗ ██████╗ ██████╗ ██╗ ██████╗ // |
10 |
| -// ██║ ██╔═══██╗██╔════╝ ██║██╔════╝ // |
11 |
| -// ██║ ██║ ██║██║ ███╗██║██║ // |
12 |
| -// ██║ ██║ ██║██║ ██║██║██║ // |
13 |
| -// ███████╗╚██████╔╝╚██████╔╝██║╚██████╗ // |
14 |
| -// ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ // |
15 |
| -// // |
16 |
| -// APB GPIO // |
17 |
| -// // |
18 |
| -///////////////////////////////////////////////////////////////// |
19 |
| -// // |
20 |
| -// Copyright (C) 2016-2017 ROA Logic BV // |
21 |
| -// www.roalogic.com // |
22 |
| -// // |
23 |
| -// Unless specifically agreed in writing, this software is // |
24 |
| -// licensed under the RoaLogic Non-Commercial License // |
25 |
| -// version-1.0 (the "License"), a copy of which is included // |
26 |
| -// with this file or may be found on the RoaLogic website // |
27 |
| -// http://www.roalogic.com. You may not use the file except // |
28 |
| -// in compliance with the License. // |
29 |
| -// // |
30 |
| -// THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY // |
31 |
| -// EXPRESS OF IMPLIED WARRANTIES OF ANY KIND. // |
32 |
| -// See the License for permissions and limitations under the // |
33 |
| -// License. // |
34 |
| -// // |
35 |
| -///////////////////////////////////////////////////////////////// |
| 1 | +///////////////////////////////////////////////////////////////////// |
| 2 | +// ,------. ,--. ,--. // |
| 3 | +// | .--. ' ,---. ,--,--. | | ,---. ,---. `--' ,---. // |
| 4 | +// | '--'.'| .-. |' ,-. | | | | .-. | .-. |,--.| .--' // |
| 5 | +// | |\ \ ' '-' '\ '-' | | '--.' '-' ' '-' || |\ `--. // |
| 6 | +// `--' '--' `---' `--`--' `-----' `---' `- /`--' `---' // |
| 7 | +// `---' // |
| 8 | +// APB4 GPIO // |
| 9 | +// // |
| 10 | +///////////////////////////////////////////////////////////////////// |
| 11 | +// // |
| 12 | +// Copyright (C) 2016-2018 ROA Logic BV // |
| 13 | +// www.roalogic.com // |
| 14 | +// // |
| 15 | +// Unless specifically agreed in writing, this software is // |
| 16 | +// licensed under the RoaLogic Non-Commercial License // |
| 17 | +// version-1.0 (the "License"), a copy of which is included // |
| 18 | +// with this file or may be found on the RoaLogic website // |
| 19 | +// http://www.roalogic.com. You may not use the file except // |
| 20 | +// in compliance with the License. // |
| 21 | +// // |
| 22 | +// THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY // |
| 23 | +// EXPRESS OF IMPLIED WARRANTIES OF ANY KIND. // |
| 24 | +// See the License for permissions and limitations under the // |
| 25 | +// License. // |
| 26 | +// // |
| 27 | +///////////////////////////////////////////////////////////////////// |
| 28 | + |
| 29 | +// +FHDR - Semiconductor Reuse Standard File Header Section ------- |
| 30 | +// FILE NAME : apb_gpio.sv |
| 31 | +// DEPARTMENT : |
| 32 | +// AUTHOR : rherveille |
| 33 | +// AUTHOR'S EMAIL : |
| 34 | +// ------------------------------------------------------------------ |
| 35 | +// RELEASE HISTORY |
| 36 | +// VERSION DATE AUTHOR DESCRIPTION |
| 37 | +// 1.0 2017-03-29 rherveille initial release |
| 38 | +// ------------------------------------------------------------------ |
| 39 | +// KEYWORDS : AMBA APB4 General Purpose IO GPIO |
| 40 | +// ------------------------------------------------------------------ |
| 41 | +// PURPOSE : General purpose IO |
| 42 | +// ------------------------------------------------------------------ |
| 43 | +// PARAMETERS |
| 44 | +// PARAM NAME RANGE DESCRIPTION DEFAULT UNITS |
| 45 | +// PDATA_SIZE 1+ Databus (and GPIO) size 8 bits |
| 46 | +// ------------------------------------------------------------------ |
| 47 | +// REUSE ISSUES |
| 48 | +// Reset Strategy : external asynchronous active low; PRESETn |
| 49 | +// Clock Domains : PCLK, rising edge |
| 50 | +// Critical Timing : |
| 51 | +// Test Features : na |
| 52 | +// Asynchronous I/F : no |
| 53 | +// Scan Methodology : na |
| 54 | +// Instantiations : na |
| 55 | +// Synthesizable (y/n) : Yes |
| 56 | +// Other : |
| 57 | +// -FHDR------------------------------------------------------------- |
36 | 58 |
|
37 | 59 |
|
38 | 60 | /*
|
|
0 commit comments