虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

max-Int

  • 编写一个程序

    编写一个程序,输出基本数据类型char, short, int, long, float, double和指针类型void *, char *, short *, int *, long *, float *, double *的数据类型的长度。

    标签: 编写 程序

    上传时间: 2013-12-26

    上传用户:pompey

  • A badic controller for the UART. It incorporates a -- transmit and receive FIFO (fr

    A badic controller for the UART. It incorporates a -- transmit and receive FIFO (from Max+Plus II s MegaWizard -- plug-in manager). Note that no checking is done to see -- whether the FIFOs are overflowing or not. This strictly -- handles the transmitting and receiving of the data.

    标签: incorporates controller transmit receive

    上传时间: 2017-09-05

    上传用户:13681659100

  • 一个用VHDL编写的秒表程序

    一个用VHDL编写的秒表程序,可用Max+PlusII仿真

    标签: VHDL 编写 程序

    上传时间: 2017-09-07

    上传用户:xiaoxiang

  • Per gli interessati ai metodi della compressione una vera miniera d oro, oltre 70 algoritmi all int

    Per gli interessati ai metodi della compressione una vera miniera d oro, oltre 70 algoritmi all interno di moduli base indipendenti consentono a questo programma di mostrare il loro utilizzo e le loro performances, ecco elencati alcuni di essi : base64/crc32/fibonacci/mtf/freq/adddif/bwt/fix12/fix128/flatter/ huffman/lzw/lzs/rle/lbe/hash/vbc/scrambler, e tanti tanti altri.

    标签: compressione interessati algoritmi miniera

    上传时间: 2013-12-16

    上传用户:时代电子小智

  • 内容摘要: LHD6000主板主芯片程序 ISD1730时序说明: 参考:void Send_1Byte(uchar ucData_s)和uchar Receive_1Byte(void)的说明.

    内容摘要: LHD6000主板主芯片程序 ISD1730时序说明: 参考:void Send_1Byte(uchar ucData_s)和uchar Receive_1Byte(void)的说明. 应先发"RESET"命令再发"PWR_UP"命令,后发"RESET"命令可能不正常工作. 1730最高地址只有0xFF,所以对指定地址的操作函数的参数使用了"unsigned char"类型, 17系列的其它型号可能才用得到"unsigned int",借用时注意,将对应注释掉的部分还原.!!

    标签: uchar Byte void ucData_s

    上传时间: 2017-09-11

    上传用户:zm7516678

  • 内容摘要:在简单介绍算术编码和自适应算术编码的基础上

    内容摘要:在简单介绍算术编码和自适应算术编码的基础上,介绍了利用FPGA器件并通过VHDL语言描述实现自适应算术编码的过程。整个编码系统在LTERA公司的MAX+plus Ⅱ软件上进行了编译仿真,测试结果表明:编码器各个模块的设计在速度和资源利用两方面均达到了较优的状态,可以满足实时编码的要求。

    标签: 算术编码

    上传时间: 2014-08-10

    上传用户:gououo

  • 补码运算器

    使用Altera的MAX+PlusII设计了一个补码运算器,文档里包含了详细的设计原理及完整电路

    标签: MAX+PlusII 补码运算

    上传时间: 2015-02-26

    上传用户:赫尔辛根

  • 16进制转十进制

    DATAS SEGMENT w dw 0 keybuf db 255      db 0      db 255 dup(0)      ;定义键盘输入需要的缓冲区 DATAS ENDS STACKS SEGMENT db 200 dup(?) STACKS ENDS CODES SEGMENT ASSUME CS:CODES,DS:DATAS,SS:STACKS START: MOV AX,DATAS MOV DS,AX mov dx,offset keybuf     ;用0a号功能,输入一个字符串 mov ah,0ah               ;用回车结束 int 21h mov dl,0ah               ;再进行换行,以便在下一行显示转换后的字符串  mov ah,2     int 21h ;  push ax ;   push dx ;      mov dl,cl ;     mov ah,02 ;     int 21h   ;   pop dx ;  pop ax mov bx,offset keybuf+1   ;取出字符串的字符个数,作为循环的次数 mov cl,[bx] mov ch,0     mov ax,0             again:  inc bx mov ax,[w] push bx mov bx,16 mul bx pop bx            ;是小写字母,则转换为大写字母 mov [w],ax mov dl,[bx]             ;取出一个字符, cmp dl,'9' jbe lab1 cmp dl,'F' jbe lab2 sub dl,32 lab2: sub dl ,07h lab1:  sub dl,30h add [w],dx  loop again   mov ax,[w]  mov bx,-1 push bx mov bx,10 lab3 :mov dx,0 div bx  push dx cmp ax,0 jnz lab3 lab5: pop dx cmp dx,-1 jz lab4 add dl,30h mov ah,02 int 21h        jmp  lab5            ;循环,处理完整个字符串 lab4:  MOV AH,4CH INT 21H CODES ENDS END START

    标签: 汇编

    上传时间: 2015-04-02

    上传用户:wcc0310

  • toj 4022源代码

    #include <iostream> using namespace std; int main(){ int t; cin>>t; while(t--){ long long n; cin>>n; if(n%2==1) cout<<(n*n-1)/4<<endl; else if (n%4==0) cout <<(n*n)/4-1<<endl; else{ if(n==2) cout<<1<<endl; else{ long long k=n/2-1; cout <<k*k+2*k-3<<endl; } } } return 0; }

    标签: 天津大学acm4022 代码

    上传时间: 2015-04-20

    上传用户:nr607

  • 两个链表的交集

    两个链表的交集 #include<stdio.h> #include<stdlib.h> typedef struct Node{   int data;   struct  Node *next; }Node; void initpointer(struct Node *p){   p=NULL; } int  printlist(struct Node* head){   int flag=1;   head=head->next;   /*   因为标记1的地方你用了头结点,所以第一个数据域无效,应该从下一个头元结点开始   */   if(head==NULL)     printf("NULL\n");   else   {     while(head!=NULL)     {       if(flag==1)       {       printf("%d",head->data);       flag=0;       }       else       {         printf(" %d",head->data);       }       head=head->next;     }     printf("\n");   }   return 0; } struct Node *creatlist(struct Node *head) {      int n;    struct  Node *p1=(struct Node *)malloc(sizeof(struct Node));   p1->next=NULL; while(scanf("%d",&n),n!=-1) {   struct Node *pnode=(struct Node *)malloc(sizeof(struct Node));   pnode->next=NULL;      pnode->data=n;   if(head==NULL)     head=pnode;   p1->next=pnode;   p1=pnode; } return head; } struct Node *Intersect(struct Node *head1, struct Node *head2) { struct Node *p1=head1,*p2=head2;/*我这里没有用头指针和头结点,这里是首元结点head1里面就是第一个数据,一定要理解什么事头指针, 头结点,和首元结点 具体你一定要看这个博客:http://blog.sina.com.cn/s/blog_71e7e6fb0101lipz.html*/ struct Node *head,*p,*q; head = (struct Node *)malloc(sizeof(struct Node)); head->next = NULL; p = head; while( (p1!=NULL)&&(p2!=NULL) ) { if (p1->data == p2->data) { q = (struct Node *)malloc(sizeof(struct Node)); q->data = p1->data; q->next = NULL; p->next = q;//我可以认为你这里用了头结点,也就是说第一个数据域无效     **标记1** p = q; p1 = p1->next; p2 = p2->next; } else if (p1->data < p2->data) { p1 = p1->next; } else { p2 = p2->next; } } return head; } int main() {   struct Node *head=NULL,*headt=NULL,*t;   //initpointer(head);//这里的函数相当于head=NULL;  // initpointer(headt);//上面已经写了headt=NULL那么这里可以不用调用这个函数   head=creatlist(head);   headt=creatlist(headt);   t=Intersect(head,headt);   printlist(t); }

    标签: c语言编程

    上传时间: 2015-04-27

    上传用户:coco2017co