91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小:
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2023-06-30
  • 語言: 其他
  • 標簽:

資源簡介

通信IC設計代碼.rar

資源截圖

代碼片段和文件信息

//?Copyright?2007?Altera?Corporation.?All?rights?reserved.??
//?Altera?products?are?protected?under?numerous?U.S.?and?foreign?patents?
//?maskwork?rights?copyrights?and?other?intellectual?property?laws.??
//
//?This?reference?design?file?and?your?use?thereof?is?subject?to?and?governed
//?by?the?terms?and?conditions?of?the?applicable?Altera?Reference?Design?
//?License?Agreement?(either?as?signed?by?you?or?found?at?www.altera.com).??By
//?using?this?reference?design?file?you?indicate?your?acceptance?of?such?terms
//?and?conditions?between?you?and?Altera?Corporation.??In?the?event?that?you?do
//?not?agree?with?such?terms?and?conditions?you?may?not?use?the?reference?
//?design?file?and?please?promptly?destroy?any?copies?you?have?made.
//
//?This?reference?design?file?is?being?provided?on?an?“as-is“?basis?and?as?an?
//?accommodation?and?therefore?all?warranties?representations?or?guarantees?of?
//?any?kind?(whether?express?implied?or?statutory)?including?without?
//?limitation?warranties?of?merchantability?non-infringement?or?fitness?for
//?a?particular?purpose?are?specifically?disclaimed.??By?making?this?reference
//?design?file?available?Altera?expressly?does?not?recommend?suggest?or?
//?require?that?this?reference?design?file?be?used?in?combination?with?any?
//?other?product?not?provided?by?Altera.
/////////////////////////////////////////////////////////////////////////////

//baeckler?-?11-14-2006

#include?

int?log2?(int?n)
{
int?bits?=?0;
while?(n)
{
n?>>=?1;
bits++;
}
return?(bits);
}

int?main?(void)
{
unsigned?int?num_ins?=?6;
unsigned?int?num_outs?=?log2(num_ins);

unsigned?int?num_cases?=?(1< unsigned?int?n?=?0?k?=?0;
unsigned?int?out_val?=?0;

fprintf?(stdout“//baeckler?-?11-14-2006\n“);
fprintf?(stdout“//?priority?encoder\n“);
fprintf?(stdout“//???no?requests?-?output?=?0\n“);
fprintf?(stdout“//???request?bit?0?(highest?priority)?-?output?=?1\n“);
fprintf?(stdout“//???request?bit?%d?(lowest?priority)?-?output?=?%d\n“num_ins-1num_ins);
fprintf?(stdout“module?prio_encode?(reqsout);\n“);
fprintf?(stdout“input?[%d:0]?reqs;\n“num_ins-1);
fprintf?(stdout“output?[%d:0]?out;\n“num_outs-1);
fprintf?(stdout“reg?[%d:0]?out;\n\n“num_outs-1);

fprintf?(stdout“????always?@(*)?begin\n“);
fprintf?(stdout“??????case(reqs)\n“);

fprintf?(stdout“????????//?0?is?special?no?reqs\n“);
fprintf?(stdout“????????%d‘d%d:?out?=?%d;\n\n“num_ins00); ????

for?(n=1;?n {
out_val?=?1;
k?=?n;
while?(k?&&?!(k&1))
{
k?>>=1;
out_val?+=?1;
}
fprintf?(stdout“????????%d‘d%d:?out?=?%d;\n“num_insnout_val); ????
}
fprintf?(stdout“??????endcase\n“);
fprintf?(stdout“????end\n“);
fprintf?(stdout“endmodule\n“);
return?(0);
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1983??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arbitration\arbiter.v

?????文件???????3196??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arbitration\arbiter_tb.v

?????文件???????1581??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arbitration\bitscan.v

?????文件???????2086??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arbitration\bitscan_tb.v

?????文件???????1911??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arbitration\log2.inc

?????文件???????2853??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arbitration\prio_encode.cpp

?????文件???????3405??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arbitration\prio_encode.v

?????文件???????5071??2009-03-24?12:41??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arbitration\tx_4channel_arbiter.v

?????文件???????7939??2009-03-24?12:41??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arbitration\tx_4channel_arbiter_tb.sv

?????文件???????4219??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\adder_tree.v

?????文件???????4174??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\adder_tree_layer.v

?????文件???????3439??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\adder_tree_node.v

?????文件???????3009??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\adder_tree_tb.v

?????文件???????2572??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\addsub.v

?????文件???????5378??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\basic_adder.v

?????文件???????1763??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\compress_32.v

?????文件???????5728??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\cordic.v

?????文件???????4208??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\cordic_angle_table.cpp

?????文件???????4754??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\cordic_tb.v

?????文件???????5122??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\divider.v

?????文件???????3766??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\divider_tb.v

?????文件???????4094??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\double_addsub.v

?????文件???????2342??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\double_addsub_tb.v

?????文件???????1765??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\iter_addsub.v

?????文件???????4684??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\karatsuba_mult.v

?????文件???????2571??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\karatsuba_mult_tb.v

?????文件???????4809??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\lc_mult_signed.v

?????文件???????4288??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\lc_mult_signed_tb.v

?????文件???????1911??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\log2.inc

?????文件???????1879??2009-01-05?11:50??隨機代碼\完整的幾個工程\Altera_多種算法的說明和源碼(CORDICECC8B10BAES)\arithmetic\make_comp.cpp

............此處省略1785個文件信息

評論

共有 條評論