中文亚洲精品无码_熟女乱子伦免费_人人超碰人人爱国产_亚洲熟妇女综合网

當(dāng)前位置: 首頁 > news >正文

長沙畢業(yè)設(shè)計(jì)代做網(wǎng)站價(jià)格網(wǎng)域名查詢地址

長沙畢業(yè)設(shè)計(jì)代做網(wǎng)站價(jià)格,網(wǎng)域名查詢地址,永州企業(yè)網(wǎng)站建設(shè),做水產(chǎn)的都用什么網(wǎng)站VHDL-2008語言支持 介紹 AMD Vivado?合成支持VHDL-2008標(biāo)準(zhǔn)的可合成子集。這個(gè)以下部分介紹了支持的子集以及使用它的過程。將Vivado設(shè)置為使用VHDL-2008有幾種方法可以使用Vivado運(yùn)行VHDL-2008文件。您可以轉(zhuǎn)到源文件屬性窗口,并從可用文件類型的下拉列表中設(shè)置…

VHDL-2008語言支持

介紹

AMD Vivado?合成支持VHDL-2008標(biāo)準(zhǔn)的可合成子集。這個(gè)以下部分介紹了支持的子集以及使用它的過程。將Vivado設(shè)置為使用VHDL-2008有幾種方法可以使用Vivado運(yùn)行VHDL-2008文件。您可以轉(zhuǎn)到源文件屬性窗口,并從可用文件類型的下拉列表中設(shè)置類型:VHDL 2008。這個(gè)Vivado工具將文件類型設(shè)置為VHDL-2008。也可以使用Tcl控制臺(tái)中的set_property命令將文件設(shè)置為VHDL-2008。這個(gè)語法如下:

set_property FILE_TYPE {VHDL 2008} [get_files <file>.vhd]

最后,在非項(xiàng)目或Tcl流中,用于在VHDL中讀取的命令的VHDL-2008為跟隨:

read_vhdl -vhdl2008 <file>.vhd

如果要讀入多個(gè)文件,可以使用多個(gè)read_vhdl命令或使用一個(gè)命令創(chuàng)建多個(gè)文件,如下所示:

read_vhdl -vhdl2008 {a.vhd b.vhd c.vhd}

支持的VHDL-2008功能

Vivado支持以下VHDL-2008功能。

操作員

匹配關(guān)系運(yùn)算符

VHDL-2008現(xiàn)在提供了返回位或std_logic類型的關(guān)系運(yùn)算符。在上一個(gè)VHDL標(biāo)準(zhǔn),關(guān)系運(yùn)算符(=,<,>=…)返回布爾類型。對(duì)于新的類型,需要寫成的代碼:

if x = y then
out1 <= '1';
else
out1 <= '0';
end if;
Can now be written as:
out1 <= x ?= y;
下表列出了Vivado中支持的關(guān)系運(yùn)算符。

最大和最小運(yùn)算符

VHDL-2008中新的最大和最小運(yùn)算符采用兩個(gè)不同的值和分別返回較大或較小的。例如

out1 <= maximum(const1, const2);

移位運(yùn)算符(rol、ror、sll、srl、sla和sra)

sla和sra運(yùn)算符以前只定義了位和布爾元素。現(xiàn)在VHDL-2008標(biāo)準(zhǔn)在有符號(hào)庫和無符號(hào)庫中定義了它們。

一元邏輯歸約算子

在VHDL的早期版本中,和、nand或等運(yùn)算符取兩個(gè)不同的值和返回了一個(gè)位或布爾值。對(duì)于VHDL-2008,添加了對(duì)這些的一元支持操作員。它們返回輸入的邏輯函數(shù)。例如,代碼:

out1 <= and("0101");

將這4個(gè)比特加在一起并返回0。具有一元支持的邏輯函數(shù)是:and,nand、or、nor、xor和xnor。

混合數(shù)組和標(biāo)量邏輯運(yùn)算符

以前在VHDL中,邏輯運(yùn)算符的兩個(gè)操作數(shù)需要具有相同的大小。

VHDL-2008支持在其中一個(gè)操作數(shù)是數(shù)組而另一個(gè)是時(shí)使用邏輯運(yùn)算符標(biāo)量。例如,要將一個(gè)比特與向量的所有比特進(jìn)行“與”運(yùn)算,需要以下代碼:

out1(3) <= in1(3) and in2;
out1(2) <= in1(2) and in2;
out1(1) <= in1(1) and in2;
out1(0) <= in1(0) and in2;
This can now be replaced with the following:
out1<= in1 and in2;

聲明

如果其他-如果和案例生成

以前在VHDL中,if generate語句采用以下形式:

if condition generate
--- statements
end generate;
An issue appears if you want to have different conditions; you would need to write multiple
generates and be very careful with the ordering of the generates. VHDL-2008 supports if
else-if generate statements.
if condition generate
---statements
elsif condition2 generate
---statements
else generate
---statements
end generate;
In addition, VHDL-2008 also offers case-generate statements:
case expressions generate
when condition =>
statements
when condition2 =>
statements
end generate;
Sequential Assignments
VHDL-2008 allows sequential signal and variable assignment with conditional signals. For
example, a register with an enable would be written as the following:
process(clk) begin
if clk'event and clk='1' then
if enable then
my_reg <= my_input;
end if;
end if;
end process;
With VHDL-2008, this can now be written as the following:
process(clk) begin
if clk'event and clk='1' then
my_reg <= my_input when enable else my_reg;
end if;
end process;
Using case? Statements
With VHDL-2008, the case statement has a way to deal with explicit don’t care assignments.
When using case? , the tool now evaluates explicit don’t care terms, as in the following
example:
process(clk) begin
if clk'event and clk='1' then
case? my_reg is
when "01--" => out1 <= in1;
when "000-" => out1 <= in2;
when "1111" => out1 <= in3;
when others => out1 <= in4;
end case?;
end if;
end process;
Using select? Statements
Like the case, the select statement now has a way to deal with explicit don’t care
assignments. When using the select? statement, the tool now evaluates explicit don’t care
terms, for example:
process(clk) begin
if clk'event and clk='1' then
with my_reg select?
out1 <= in1 when "11--",
in2 when "000-",
in3 when "1111",
in4 when others;
end if;
end process;
http://www.risenshineclean.com/news/64086.html

相關(guān)文章:

  • 如何做微商城網(wǎng)站建設(shè)國內(nèi)推廣平臺(tái)
  • 網(wǎng)站開發(fā)主流技術(shù)線路介紹網(wǎng)站制作論文
  • 專業(yè)設(shè)計(jì)企業(yè)網(wǎng)站中國體育新聞
  • 一個(gè)公司做兩個(gè)網(wǎng)站的好處我想接app純注冊(cè)推廣單
  • 網(wǎng)站前臺(tái)建設(shè)用到哪些工具百度app手機(jī)版
  • 政府網(wǎng)站建設(shè)要求有哪些口紅的推廣軟文
  • 地產(chǎn)公司做網(wǎng)站維護(hù)寫代碼么6廣州seo公司官網(wǎng)
  • 用DW做的網(wǎng)站怎么分享給別人怎樣做線上銷售
  • 網(wǎng)站建設(shè)服務(wù)宗旨代寫文章質(zhì)量高的平臺(tái)
  • 怎么做淘寶客網(wǎng)站備案win10系統(tǒng)優(yōu)化工具
  • 讓別人做網(wǎng)站是要每年續(xù)費(fèi)嗎網(wǎng)絡(luò)營銷課程總結(jié)與心得體會(huì)
  • 大連企業(yè)建站系統(tǒng)模板電腦優(yōu)化大師官方免費(fèi)下載
  • 來個(gè)網(wǎng)站吧好人一生平安2021足球積分排行榜最新
  • 張家界網(wǎng)站定制外貿(mào)網(wǎng)站有哪些
  • 網(wǎng)站怎么設(shè)計(jì)好看的圖片怎樣和政府交換友鏈
  • 用dw做網(wǎng)站 的過程湖南好搜公司seo
  • 2019網(wǎng)頁游戲排行榜百度seo關(guān)鍵詞
  • 上門做網(wǎng)站公司哪家好2021年網(wǎng)絡(luò)營銷考試題及答案
  • wordpress上傳文章seo狂人
  • 成都手機(jī)微信網(wǎng)站建設(shè)報(bào)價(jià)鏈接搜索
  • 南京哪家公司做企業(yè)網(wǎng)站 做得比較好牛排seo
  • wordpress怎么使用固定連接seo查詢系統(tǒng)源碼
  • wordpress mobanbox廣州seo網(wǎng)站推廣平臺(tái)
  • 深圳單位名稱和單位地址網(wǎng)站關(guān)鍵詞優(yōu)化排名推薦
  • 提供網(wǎng)站建設(shè)公司電話站長工具麻豆
  • 怎么聯(lián)網(wǎng)訪問自己做的網(wǎng)站網(wǎng)站排名推廣軟件
  • 微信開發(fā)公眾平臺(tái)公司廈門seo代運(yùn)營
  • 開源網(wǎng)站官網(wǎng)手機(jī)網(wǎng)站建設(shè)公司
  • 可以做頭像的網(wǎng)站有哪些營銷策劃公司是干什么的
  • 做網(wǎng)站西寧自助友鏈平臺(tái)