OpenCores
URL https://opencores.org/ocsvn/idea/idea/trunk

Subversion Repositories idea

[/] [idea/] [trunk/] [structural_c/] [inout_port/] [data_out.c] - Blame information for rev 7

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

Line No. Rev Author Line
1 7 marta
/* File Name    : data_out.c                                     */
2
/* Description  : The data out block                             */
3
/* Purpose      : To be used by GENLIB                           */
4
/* Date         : Aug 30, 2001                                   */
5
/* Version      : 1.1                                            */
6
/* Author       : Martadinata A.                                 */
7
/* Address      : VLSI RG, Dept. of Electrical Engineering ITB,  */
8
/*                Bandung, Indonesia                             */
9
/* E-mail       : marta@ic.vlsi.itb.ac.id                        */
10
 
11
#include<genlib.h>
12
main()
13
{
14
 DEF_LOFIG("data_out");
15
 LOCON("data64out[63:0]",   IN,  "data64out[63:0]" );
16
 LOCON("cp_ready",          IN,  "cp_ready"        );
17
 LOCON("emp_bufout",        IN,  "emp_bufout"      );
18
 LOCON("clk",               IN,  "clk"             );
19
 LOCON("rst",               IN,  "rst"             );
20
 LOCON("req_cp",           OUT,  "req_cp"          );
21
 LOCON("cp_sended",        OUT,  "cp_sended"       );
22
 LOCON("dataout[31:0]",    OUT,  "dataout[31:0]"   );
23
 LOCON("vdd",               IN,  "vdd"             );
24
 LOCON("vss",               IN,  "vss"             );
25
 
26
 
27
 LOINS("mux2to1","mux","data64out[63:0]","n_block","en_bufout","rst",
28
                    "dataout[31:0]","vdd","vss",0);
29
 
30
 LOINS("control_dataout","ctrl_dtout","clk","rst","cp_ready","emp_bufout",
31
                   "en_bufout","req_cp","cp_sended","n_block","vdd","vss",0);
32
 
33
 SAVE_LOFIG();  exit(0);
34
}

powered by: WebSVN 2.1.0

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