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

Subversion Repositories a-z80

[/] [a-z80/] [trunk/] [cpu/] [bus/] [bus_control.v] - Blame information for rev 3

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              "Mon Oct 13 12:39:04 2014"
18
 
19
module bus_control(
20
        ctl_bus_ff_oe,
21
        ctl_bus_zero_oe,
22
        ctl_bus_db_oe,
23
        bus_db_oe,
24
        db
25
);
26
 
27
 
28
input wire      ctl_bus_ff_oe;
29
input wire      ctl_bus_zero_oe;
30
input wire      ctl_bus_db_oe;
31
output wire     bus_db_oe;
32
inout wire      [7:0] db;
33
 
34
wire    [7:0] bus;
35
wire    [7:0] vcc;
36
wire    SYNTHESIZED_WIRE_3;
37
wire    SYNTHESIZED_WIRE_2;
38
 
39
 
40
 
41
 
42
assign  db[7] = SYNTHESIZED_WIRE_3 ? bus[7] : 1'bz;
43
assign  db[6] = SYNTHESIZED_WIRE_3 ? bus[6] : 1'bz;
44
assign  db[5] = SYNTHESIZED_WIRE_3 ? bus[5] : 1'bz;
45
assign  db[4] = SYNTHESIZED_WIRE_3 ? bus[4] : 1'bz;
46
assign  db[3] = SYNTHESIZED_WIRE_3 ? bus[3] : 1'bz;
47
assign  db[2] = SYNTHESIZED_WIRE_3 ? bus[2] : 1'bz;
48
assign  db[1] = SYNTHESIZED_WIRE_3 ? bus[1] : 1'bz;
49
assign  db[0] = SYNTHESIZED_WIRE_3 ? bus[0] : 1'bz;
50
 
51
 
52
assign  bus = {ctl_bus_ff_oe,ctl_bus_ff_oe,ctl_bus_ff_oe,ctl_bus_ff_oe,ctl_bus_ff_oe,ctl_bus_ff_oe,ctl_bus_ff_oe,ctl_bus_ff_oe} & vcc;
53
 
54
assign  SYNTHESIZED_WIRE_2 =  ~SYNTHESIZED_WIRE_3;
55
 
56
assign  bus_db_oe = ctl_bus_db_oe & SYNTHESIZED_WIRE_2;
57
 
58
assign  SYNTHESIZED_WIRE_3 = ctl_bus_ff_oe | ctl_bus_zero_oe;
59
 
60
assign  vcc = 8'b11111111;
61
 
62
endmodule

powered by: WebSVN 2.1.0

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