基于xilinx spartan 3e 开发板的正弦波信号发生,通过fpga查找ROM正弦信号表,将数字信号通过spi接口写入开发板上的12位DA芯片ITC2614。通过DA转换产生正弦波。ROM深度为32768,表示一个正弦周期最多可以有32768个点。可以通过修改相位累积值和ROM表来设定输出正弦波的频率。程序本人编写和上板实测。 ltc2614_spi_cosx32768\\111.vcd
.....................\\blk_mem_gen_v6_1.mif
.....................\\button_pulse.cmd_log
.....................\\button_pulse.v
.....................\\chipscope.cpj
.....................\\clkdiv.v
.....................\\clkdiv1.v
.....................\\clkdiv_arwz.ucf
.....................\\da2614.ipf
.....................\\fff.cdc
.....................\\fuse.log
.....................\\fuse.xmsgs
.....................\\fuseRelaunch.cmd
.....................\\impact.xsl
.....................\\impact_impact.xwbt
.....................\\.pcore_dir\\blk_mem_gen_ds512.pdf
.....................\\..........\\blk_mem_gen_readme.txt
.....................\\..........\\clkdiv.v
.....................\\..........\\clkdiv.vhd
.....................\\..........\\clkdiv.xaw
.....................\\..........\\clkdiv_arwz.ucf
.....................\\..........\\clkdiv_flist.txt
.....................\\..........\\coregen.cgc
.....................\\..........\\coregen.cgp
.....................\\..........\\coregen.log
.....................\\..........\\create_clkdiv.tcl
.....................\\..........\\create_sinxrom.tcl
.....................\\..........\\edit_sinxrom.tcl
.....................\\..........\\iseconfig\\sinxrom.projectmgr
.....................\\..........\\.........\\sinxrom.xreport
.....................\\..........\\sinxrom.asy
.....................\\..........\\sinxrom.gise
.....................\\..........\\sinxrom.mif
.....................\\..........\\sinxrom.ncf
.....................\\..........\\sinxrom.ngc
.....................\\..........\\sinxrom.sym
.....................\\..........\\sinxrom.v
.....................\\..........\\sinxrom.veo
.....................\\..........\\sinxrom.vhd
.....................\\..........\\sinxrom.vho
.....................\\..........\\sinxrom.xco
.....................\\..........\\sinxrom.xise
.....................\\..........\\sinxrom_flist.txt
.....................\\..........\\sinxrom_xmdf.tcl
.....................\\..........\\tmp\\_xmsgs\\ngcbuild.xmsgs
.....................\\..........\\...\\......\\pn_parser.xmsgs
.....................\\..........\\...\\......\\xst.xmsgs
.....................\\..........\\xaw2verilog.log
.....................\\..........\\xaw2vhdl.log
.....................\\..........\\_xmsgs\\cg.xmsgs
.....................\\..........\\......\\pn_parser.xmsgs
.....................\\.seconfig\\spi.projectmgr
.....................\\.........\\spi.xreport
.....................\\.........\\top.xreport
.....................\\..im\\isim_usage_statistics.html
.....................\\....\\pn_info
.....................\\....\\tb_top_isim_beh.exe.sim\\isimcrash.log
.....................\\....\\.......................\\ISimEngine-DesignHierarchy.dbg
.....................\\....\\.......................\\isimkernel.log
.....................\\....\\.......................\\netId.dat
.....................\\....\\.......................\\tb_top_isim_beh.exe
.....................\\....\\.......................\\.mp_save\\_1
.....................\\....\\.......................\\unisims_ver\\m_00000000000740258969_1625843133.c
.....................\\....\\.......................\\...........\\m_00000000000740258969_1625843133.didat
.....................\\....\\.......................\\...........\\m_00000000000740258969_1625843133.nt.obj
.....................\\....\\.......................\\...........\\m_00000000000740258969_3897995058.c
.....................\\....\\.......................\\...........\\m_00000000000740258969_3897995058.didat
.....................\\....\\.......................\\...........\\m_00000000000740258969_3897995058.nt.obj
.....................\\....\\.......................\\...........\\m_00000000001946988858_2297623829.c
.....................\\....\\.......................\\...........\\m_00000000001946988858_2297623829.didat
.....................\\....\\.......................\\...........\\m_00000000001946988858_2297623829.nt.obj
.....................\\....\\.......................\\...........\\m_00000000002399568039_2282143210.c
.....................\\....\\.......................\\...........\\m_00000000002399568039_2282143210.didat
.....................\\....\\.......................\\...........\\m_00000000002399568039_2282143210.nt.obj
.....................\\....\\.......................\\...........\\m_00000000002922998384_1660000384.c
.....................\\....\\.......................\\...........\\m_00000000002922998384_1660000384.didat
.....................\\....\\.......................\\...........\\m_00000000002922998384_1660000384.nt.obj
.....................\\....\\.......................\\...........\\m_00000000003131622635_0225263307.c
.....................\\....\\.......................\\...........\\m_00000000003131622635_0225263307.didat
.....................\\....\\.......................\\...........\\m_00000000003131622635_0225263307.nt.obj
.....................\\....\\.......................\\...........\\m_00000000003266096158_2593380106.c
.....................\\....\\.......................\\...........\\m_00000000003266096158_2593380106.didat
.....................\\....\\.......................\\...........\\m_00000000003266096158_2593380106.nt.obj
.....................\\....\\.......................\\work\\m_00000000000106792924_0903130938.c
.....................\\....\\.......................\\....\\m_00000000000106792924_0903130938.didat
.....................\\....\\.......................\\....\\m_00000000000106792924_0903130938.nt.obj
.....................\\....\\.......................\\....\\m_00000000000843948690_3622719947.c
.....................\\....\\.......................\\....\\m_00000000000843948690_3622719947.didat
.....................\\....\\.......................\\....\\m_00000000000843948690_3622719947.nt.obj
.....................\\....\\.......................\\....\\m_00000000000852076517_3823007873.c
.....................\\....\\.......................\\....\\m_00000000000852076517_3823007873.didat
.....................\\....\\.......................\\....\\m_00000000000852076517_3823007873.nt.obj
.....................\\....\\.......................\\....\\m_00000000002247391122_2217340468.c
.....................\\....\\.......................\\....\\m_00000000002247391122_2217340468.didat
.....................\\....\\.......................\\....\\m_00000000002247391122_2217340468.nt.obj
.....................\\....\\.......................\\....\\m_00000000002489990758_0960904518.c
.....................\\....\\.......................\\....\\m_00000000002489990758_0960904518.didat
.....................\\....\\.......................\\....\\m_00000000002489990758_0960904518.nt.obj
.....................\\....\\.......................\\....\\m_00000000002704699562_3823007873.c
.....................\\....\\.......................\\....\\m_00000000002704699562_3823007873.didat