Since you folks an Digilent make these wonderful board files that make it super easy to connect components, I figured I'd make my own for a custom board. The problem is that my design uses a differential sysclock, whereas most Digilent designs use a single-ended sysclock. I have been pouring over the board file chapter in UG895 to figure out how to do this, but unfortunately I haven't found any examples or hints in doing so.
A single-ended clock interface in the board.xml file looks like this:
<interfacemode="slave"name="sys_clock"type="xilinx.com:signal:clock_rtl:1.0"of_component="sys_clock"preset_proc="sys_diff_clock_preset"><description>3.3V Single-Ended 100MHz oscillator used as system clock on the board</description><port_maps><port_maplogical_port="clk"physical_port="clk"dir="in"><pin_maps><pin_mapport_index="0"component_pin="clk"/></pin_maps></port_map></port_maps><parameters><parametername="frequency"value="100000000"/></parameters></interface>
Which allows one to click and drag "System Clock" from the board tab into the block design and gives you a clocking wizard with a single-ended clock.
I want to be able to do the exact same thing, except instead of spawning a clocking wizard with a single-ended clock, it spawns a clocking wizard with a differential clock, like this:
Here is my failed attempt at creating this interface:
I used "xilinx.com:signal:diff_clock_rtl:1.0" instead of "xilinx.com:signal:clock_rtl:1.0" and added another port map for the p/n signals.
<interfacemode="slave"name="sys_clock"type="xilinx.com:signal:diff_clock_rtl:1.0"of_component="sys_clock"preset_proc="sys_diff_clock_preset"><description>3.3V Double-Ended 100MHz oscillator used as system clock on the board that don't work none good</description><port_maps><port_maplogical_port="CLK_P"physical_port="clk_p"dir="in"><pin_maps><pin_mapport_index="0"component_pin="clk_p"/></pin_maps></port_map><port_maplogical_port="CLK_N"physical_port="clk_n"dir="in"><pin_maps><pin_mapport_index="0"component_pin="clk_n"/></pin_maps></port_map></port_maps><parameters><parametername="frequency"value="100000000"/></parameters></interface>
Which gives me this message: "'System Clock' board component cannot be connected because no possible options to connect." when I try to click and drag system clock into the design:
Do I need to edit the preset file, or is the syntax for my interface definition incorrect, or am I missing something else entirely?
Question
bklopp
Since you folks an Digilent make these wonderful board files that make it super easy to connect components, I figured I'd make my own for a custom board. The problem is that my design uses a differential sysclock, whereas most Digilent designs use a single-ended sysclock. I have been pouring over the board file chapter in UG895 to figure out how to do this, but unfortunately I haven't found any examples or hints in doing so.
A single-ended clock interface in the board.xml file looks like this:
Which allows one to click and drag "System Clock" from the board tab into the block design and gives you a clocking wizard with a single-ended clock.
I want to be able to do the exact same thing, except instead of spawning a clocking wizard with a single-ended clock, it spawns a clocking wizard with a differential clock, like this:
Here is my failed attempt at creating this interface:
I used "xilinx.com:signal:diff_clock_rtl:1.0" instead of "xilinx.com:signal:clock_rtl:1.0" and added another port map for the p/n signals.
and I added the following pins to my pin file:
Which gives me this message: "'System Clock' board component cannot be connected because no possible options to connect." when I try to click and drag system clock into the design:
Do I need to edit the preset file, or is the syntax for my interface definition incorrect, or am I missing something else entirely?
Any help is greatly appreciated.
Thanks in advance
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.