基于SOPC技术设计了一个综合应用系统:实现了键值数据采集、显示,并将采集到的数据通过串口送给上位机;也可以接收上位机送来的数据,控制点亮相应的二极管且将接收到的数据显示在数码管上。系统硬件由FPGA及外围电路组成,采用了性能优良的Nios II软核处理器;软件在Altera公司的软件集成开发工具Nios II IDE下应用C语言编程。该系统工作可靠,在实际的应用设计中有一定的参考价值。
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001439s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.086040s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.000918s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001159s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000933s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003227s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000864s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.004231s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.027157s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001710s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 505308 [ RunTime:0.012157s ]