OpenCores
URL https://opencores.org/ocsvn/a-z80/a-z80/trunk

Subversion Repositories a-z80

[/] [a-z80/] [trunk/] [cpu/] [control/] [pin_control.v] - Blame information for rev 22

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 gdevic
// Copyright (C) 1991-2013 Altera Corporation
2
// Your use of Altera Corporation's design tools, logic functions 
3
// and other software and tools, and its AMPP partner logic 
4
// functions, and any output files from any of the foregoing 
5
// (including device programming or simulation files), and any 
6
// associated documentation or information are expressly subject 
7
// to the terms and conditions of the Altera Program License 
8
// Subscription Agreement, Altera MegaCore Function License 
9
// Agreement, or other applicable license agreement, including, 
10
// without limitation, that your use is for the sole purpose of 
11
// programming logic devices manufactured by Altera and sold by 
12
// Altera or its authorized distributors.  Please refer to the 
13
// applicable agreement for further details.
14
 
15
// PROGRAM              "Quartus II 64-Bit"
16
// VERSION              "Version 13.0.1 Build 232 06/12/2013 Service Pack 1 SJ Web Edition"
17
// CREATED              "Sun Nov 16 21:18:37 2014"
18
 
19
module pin_control(
20
        fFetch,
21
        fMRead,
22
        fMWrite,
23
        fIORead,
24
        fIOWrite,
25
        T1,
26
        T2,
27
        T3,
28
        T4,
29
        bus_ab_pin_we,
30
        bus_db_pin_oe,
31
        bus_db_pin_re
32
);
33
 
34
 
35
input wire      fFetch;
36
input wire      fMRead;
37
input wire      fMWrite;
38
input wire      fIORead;
39
input wire      fIOWrite;
40
input wire      T1;
41
input wire      T2;
42
input wire      T3;
43
input wire      T4;
44
output wire     bus_ab_pin_we;
45
output wire     bus_db_pin_oe;
46
output wire     bus_db_pin_re;
47
 
48
wire    SYNTHESIZED_WIRE_0;
49
wire    SYNTHESIZED_WIRE_1;
50
wire    SYNTHESIZED_WIRE_2;
51
wire    SYNTHESIZED_WIRE_3;
52
wire    SYNTHESIZED_WIRE_4;
53
wire    SYNTHESIZED_WIRE_5;
54
wire    SYNTHESIZED_WIRE_6;
55
wire    SYNTHESIZED_WIRE_7;
56
wire    SYNTHESIZED_WIRE_8;
57
wire    SYNTHESIZED_WIRE_9;
58
 
59
 
60
 
61
 
62
assign  SYNTHESIZED_WIRE_9 = fFetch | fMWrite | fMRead | fIORead | fIOWrite | fIOWrite;
63
 
64
assign  SYNTHESIZED_WIRE_7 = T3 | T2;
65
 
66
assign  bus_db_pin_oe = SYNTHESIZED_WIRE_0 | SYNTHESIZED_WIRE_1;
67
 
68
assign  SYNTHESIZED_WIRE_3 = T3 & fIORead;
69
 
70
assign  bus_db_pin_re = SYNTHESIZED_WIRE_2 | SYNTHESIZED_WIRE_3 | SYNTHESIZED_WIRE_4;
71
 
72
assign  bus_ab_pin_we = SYNTHESIZED_WIRE_5 | SYNTHESIZED_WIRE_6;
73
 
74
assign  SYNTHESIZED_WIRE_8 = T2 | T3 | T4;
75
 
76
assign  SYNTHESIZED_WIRE_1 = fMWrite & SYNTHESIZED_WIRE_7;
77
 
78
assign  SYNTHESIZED_WIRE_0 = SYNTHESIZED_WIRE_8 & fIOWrite;
79
 
80
assign  SYNTHESIZED_WIRE_4 = T2 & fFetch;
81
 
82
assign  SYNTHESIZED_WIRE_2 = T2 & fMRead;
83
 
84
assign  SYNTHESIZED_WIRE_6 = T3 & fFetch;
85
 
86
assign  SYNTHESIZED_WIRE_5 = T1 & SYNTHESIZED_WIRE_9;
87
 
88
 
89
endmodule

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.