參數(shù)資料
型號(hào): ST20-SWC-PC
英文描述: Stratix II GX FPGA 130K FPGA-40
中文描述: 的ST20軟件開發(fā)和調(diào)試工具
文件頁數(shù): 16/21頁
文件大小: 360K
代理商: ST20-SWC-PC
ST20–SWC
16/21
| /*
| * compute factorial
| *
| */
|
|int factorial(int n)
96 |{
| if (n > 0)
74 | return ( n * factorial(n–1));
| else
22 | return (1);
|
|}
|
|int main()
1 |{
| Channel *in, *out;
| int going = TRUE;
|
| in = get_param(1);
| out = get_param(2);
|
| while (going)
27 | {
| int n, tag;
|
| tag = read_chan (in, &n);
| switch (tag)
| {
| case DATA: {
22 | send_data (out, factorial(n));
| break;
| }
| case NEXT: { /* start a new sequence */
4 | send_next (out);
| break;
| }
| case END: { /* terminate */
1 | going = FALSE;
| send_end (out);
| }
| }
| }
| }
|}
|
######################
# Summary of results #
######################
Source file : facs.c
Number of runs : 1
Processors : All
>From linked unit : facs.lku
Top 10 Blocks!!
Line 25 – 96 times
Line 27 – 74 times
Line 42 – 27 times
Line 29 – 22 times
Line 49 – 22 times
Line 53 – 4 times
Line 34 – 1 time
Line 57 – 1 time
Total number of basic blocks 8
Basic blocks not executed 0
Coverage 100%
相關(guān)PDF資料
PDF描述
ST20-SWC-SUN Stratix II GX FPGA 30K FPGA-780
ST203C10CFJ0 Stratix II GX FPGA 130K FPGA-1508
ST203C12CFJ0 Stratix II GX FPGA 130K FPGA-1508
ST203S10PFJ0 Stratix II GX FPGA 130K FPGA-40
ST203S12PFJ0 Stratix II GX FPGA 90K FPGA-35
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST20-SWCSUN 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:ST20 software development and debugging tools
ST20-SWC-SUN 制造商:未知廠家 制造商全稱:未知廠家 功能描述:ST20 SOFTWARE DEVELOPMENT AND DEBUGGING TOOLS
ST20TOOLSET 制造商:未知廠家 制造商全稱:未知廠家 功能描述:ST20 software development and debugging tools
ST20-TOOLSET/PC 制造商:STMicroelectronics 功能描述:ST20 DEVELOPMENT TOOLS - Bulk
ST20TP1X40S 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Interface IC