文件名称:chuan2bing
介绍说明--下载内容均来自于网络,请自行研究使用
Verilog语言实现的串行输出转换位并行输出的程序代码,并生成模块电路图-module b_c(dout,clk,clr,din)
output dout
input [3:0] din
input clk,clr
reg dout
reg [3:0] q
reg [1:0] cnt
always@(posedge clk)
begin
cnt<=cnt+1
if(clr)
q<=0
else
begin
if(cnt>0)
q[3:1]<=q[2:0]
else
if(cnt==0) q<=din
end
dout<=q[3]
end
endmodule
output dout
input [3:0] din
input clk,clr
reg dout
reg [3:0] q
reg [1:0] cnt
always@(posedge clk)
begin
cnt<=cnt+1
if(clr)
q<=0
else
begin
if(cnt>0)
q[3:1]<=q[2:0]
else
if(cnt==0) q<=din
end
dout<=q[3]
end
endmodule
(系统自动生成,下载前可以参看下载内容)
下载文件列表
串并转换\c_b.qpf
........\c_b.qsf
........\c_b.qws
........\db\c_b.db_info
........\..\c_b.eco.cdb
........\..\c_b.sld_design_entry.sci
........\LED驱动\.sopc_builder\filters.xml
........\.......\counter_bus_mux.bsf
........\.......\counter_bus_mux.qip
........\.......\counter_bus_mux.v
........\.......\counter_bus_mux_bb.v
........\.......\db\LED_drive.asm.qmsg
........\.......\..\LED_drive.asm_labs.ddb
........\.......\..\LED_drive.cbx.xml
........\.......\..\LED_drive.cmp.bpm
........\.......\..\LED_drive.cmp.cdb
........\.......\..\LED_drive.cmp.ecobp
........\.......\..\LED_drive.cmp.hdb
........\.......\..\LED_drive.cmp.kpt
........\.......\..\LED_drive.cmp.logdb
........\.......\..\LED_drive.cmp.rdb
........\.......\..\LED_drive.cmp_merge.kpt
........\.......\..\LED_drive.cuda_io_sim_cache.45um_ff_1200mv_0c_fast.hsd
........\.......\..\LED_drive.cuda_io_sim_cache.45um_ss_1200mv_85c_slow.hsd
........\.......\..\LED_drive.db_info
........\.......\..\LED_drive.eco.cdb
........\.......\..\LED_drive.fit.qmsg
........\.......\..\LED_drive.hier_info
........\.......\..\LED_drive.hif
........\.......\..\LED_drive.lpc.html
........\.......\..\LED_drive.lpc.rdb
........\.......\..\LED_drive.lpc.txt
........\.......\..\LED_drive.map.bpm
........\.......\..\LED_drive.map.cdb
........\.......\..\LED_drive.map.ecobp
........\.......\..\LED_drive.map.hdb
........\.......\..\LED_drive.map.kpt
........\.......\..\LED_drive.map.logdb
........\.......\..\LED_drive.map.qmsg
........\.......\..\LED_drive.map_bb.cdb
........\.......\..\LED_drive.map_bb.hdb
........\.......\..\LED_drive.map_bb.logdb
........\.......\..\LED_drive.pre_map.cdb
........\.......\..\LED_drive.pre_map.hdb
........\.......\..\LED_drive.rtlv.hdb
........\.......\..\LED_drive.rtlv_sg.cdb
........\.......\..\LED_drive.rtlv_sg_swap.cdb
........\.......\..\LED_drive.sgdiff.cdb
........\.......\..\LED_drive.sgdiff.hdb
........\.......\..\LED_drive.sld_design_entry.sci
........\.......\..\LED_drive.sld_design_entry_dsc.sci
........\.......\..\LED_drive.sta.qmsg
........\.......\..\LED_drive.sta.rdb
........\.......\..\LED_drive.sta_cmp.8_slow_1200mv_85c.tdb
........\.......\..\LED_drive.syn_hier_info
........\.......\..\LED_drive.tiscmp.fastest_slow_1200mv_0c.ddb
........\.......\..\LED_drive.tiscmp.fastest_slow_1200mv_85c.ddb
........\.......\..\LED_drive.tiscmp.fast_1200mv_0c.ddb
........\.......\..\LED_drive.tiscmp.slow_1200mv_0c.ddb
........\.......\..\LED_drive.tiscmp.slow_1200mv_85c.ddb
........\.......\..\LED_drive.tis_db_list.ddb
........\.......\..\LED_drive.tmw_info
........\.......\..\LED_drive_global_asgn_op.abo
........\.......\..\mux_1qc.tdf
........\.......\..\pll_altpll.v
........\.......\..\prev_cmp_LED_drive.asm.qmsg
........\.......\..\prev_cmp_LED_drive.fit.qmsg
........\.......\..\prev_cmp_LED_drive.map.qmsg
........\.......\..\prev_cmp_LED_drive.qmsg
........\.......\..\prev_cmp_LED_drive.sta.qmsg
........\.......\incremental_db\compiled_partitions\LED_drive.root_partition.cmp.atm
........\.......\..............\...................\LED_drive.root_partition.cmp.dfp
........\.......\..............\...................\LED_drive.root_partition.cmp.hdbx
........\.......\..............\...................\LED_drive.root_partition.cmp.kpt
........\.......\..............\...................\LED_drive.root_partition.cmp.logdb
........\.......\..............\...................\LED_drive.root_partition.cmp.rcf
........\.......\..............\...................\LED_drive.root_partition.map.atm
........\.......\..............\...................\LED_drive.root_partition.map.dpi
........\.......\..............\...................\LED_drive.root_partition.map.hdbx
........\.......\..............\...................\LED_drive.root_partition.map.kpt
........\.......\..............\...................\LED_drive.root_partition.merge_hb.atm
........\.......\..............\README
........\.......\LED_drive.asm.rpt
........\.......\LED_drive.bdf
........\.......\LED_drive.bsf
........\.......\LED_drive.cdf
........\.......\LED_drive.done
........\.......\LED_dri