| Author |
Message |
always@smart
Joined: 08 Feb 2002 Posts: 308 Helped: 7 Location: ASIA
|
03 Oct 2003 16:19 HOw to split bus in FPGA Adv using "Block Diagram' ent |
|
|
|
Hi all,
I could not manage to split the bus using FPGA Advantage in the "Block Diagram" entry. Below is an example
----------------------------------------------------------
module aaa0(a0,.......);
input a0[7:0];
.........
endmodule
----------------------------------------------------------
module aaa1(a1,......)
input a1[7:0];
endmodule
----------------------------------------------------------
I wanna to split the bus to be like:
module top(A,.....)
input A[15:0];
aaa0 (.a0(A[7:0]),.......);
aaa1(.a1(A[15:7]),.......)
endmodule
----------------------------------------------------------
when I tried to connect the A to both a0 and a1, both a0 and a1 have become a0[15:0] and a1[15:0], so how can I change them to a0[7:0] and a1[15:7]??
Thank you in advance
|
|
| Back to top |
|
 |
Ace-X
Joined: 25 Jan 2002 Posts: 594 Helped: 26
|
03 Oct 2003 17:37 |
|
|
|
Just double-click on bus and in Window "Object Properties" select desired Slice/Index.
Good luck!
Ace-X.
|
|
| Back to top |
|
 |
dll_embed
Joined: 04 Sep 2003 Posts: 116 Helped: 1
|
06 Oct 2003 13:35 Re: HOw to split bus in FPGA Adv using "Block Diagram' |
|
|
|
| Use the button "Add bus with a ripper". It is designed for it.
|
|
| Back to top |
|
 |
always@smart
Joined: 08 Feb 2002 Posts: 308 Helped: 7 Location: ASIA
|
07 Oct 2003 16:32 Re: HOw to split bus in FPGA Adv using "Block Diagram' |
|
|
|
Hi dll_embed,
THank you for your help, now I manage to chage the bus with the method you have suggested, it is so simple.
1. click the "Adds a Bus with a Ripper" and route the top-level bus, then double click the bus and change the properties accordingly to the top-level bus width, example : A[15:0].
2. secondly, click "Adds a Bus with a Ripper" again, route it then change the bottom-level bus width, example : a[7:0]
Regards,
Always smart
|
|
| Back to top |
|
 |