Readme - Hello World Software Example
DESCRIPTION:
Simple program that prints "Hello from Nios II"
The purpose of this example is to demonstrate the smallest possible Hello
World application, using the Nios II HAL BSP. The memory footprint
of this hosted application is intended to be less than 1 kbytes by default using a standard
reference design. For a more fully featured Hello World application
example, see the example titled "Hello World".
The memory footprint of this example has been reduced by making the
following changes to the normal "Hello World" example.
Check in the Nios II Software Developers Handbook for a more complete
description.
In the SW Application project:
- In the C/C++ Build page
- Set the Optimization Level to -Os
In BSP project:
- In the C/C++ Build page
- Set the Optimization Level to -Os
- Define the preprocessor option ALT_NO_INSTRUCTION_EMULATION
This removes software exception handling, which means that you cannot
run code compiled for Nios II cpu with a hardware multiplier on a core
without a the multiply unit. Check the Nios II Software Developers
Manual for more details.
- In the BSP:
- Set Periodic system timer and Timestamp timer to none
This prevents the automatic inclusion of the timer driver.
- Set Max file descriptors to 4
This reduces the size of the file handle pool.
- Uncheck Clean exit (flush buffers)
This removes the call to exit, and when main is exitted instead of
calling exit the software will just spin in a loop.
- Check Small C library
This uses a reduced functionality C library, which lacks
support for buffering, file IO, floating point and getch(), etc.
Check the Nios II Software Developers Manual for a complete list.
- Check Reduced device drivers
This uses reduced functionality drivers if they're available. For the
standard design this means you get polled UART and JTAG UART drivers,
no support for the LCD driver and you lose the ability to program
CFI compliant flash devices.
PERIPHERALS USED:
This example exercises the following peripherals:
- STDOUT device (UART or JTAG UART)
SOFTWARE SOURCE FILES:
This example includes the following software source files:
- small_hello_world.c:
BOARD/HOST REQUIREMENTS:
This example requires only a JTAG connection with a Nios Development board. If
the host communication settings are changed from JTAG UART (default) to use a
conventional UART, a serial cable between board DB-9 connector and the host is
required.
没有合适的资源?快使用搜索试试~ 我知道了~
clock.rar_fpga clock_fpga 闹钟_fpga数字钟_heartbai_hurtnx5
共988个文件
cdb:125个
hdb:124个
d:89个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 110 浏览量
2022-07-15
20:44:53
上传
评论
收藏 12.98MB RAR 举报
温馨提示
使用FPGA设计的数字钟,带闹钟和时间功能,可以设定时间
资源详情
资源评论
资源推荐
收起资源包目录
clock.rar_fpga clock_fpga 闹钟_fpga数字钟_heartbai_hurtnx5 (988个子文件)
2067c79ebbfd0018175fb92b61456bd0 5KB
303529f9b7fd0018175fb92b61456bd0 4KB
30aa9230bbfd0018175fb92b61456bd0 5KB
40a6b17ab9fd0018175fb92b61456bd0 5KB
502a7d43befd0018175fb92b61456bd0 5KB
60c02595b4fd0018175fb92b61456bd0 4KB
7005393dc2fd0018175fb92b61456bd0 5KB
70f41d36b9fd0018175fb92b61456bd0 4KB
809ca6beb8fd0018175fb92b61456bd0 4KB
90878460bbfd0018175fb92b61456bd0 5KB
90c64855b9fd0018175fb92b61456bd0 5KB
libhal_bsp.a 299KB
clock.vpr.ammdb 6KB
clock.root_partition.cmp.ammdb 6KB
clock.autoh_e40e1.cmp.ammdb 636B
clock.map.ammdb 133B
b0e7a651b9fd0018175fb92b61456bd0 5KB
b0f0e406c2fd0018175fb92b61456bd0 5KB
clock_sub.v.bak 12KB
clock.v.bak 11KB
clock1.v.bak 11KB
clock.cmp.bpm 5KB
clock.map.bpm 5KB
clock.bsf 6KB
clock.bsf 6KB
settings.bsp 59KB
alt_log_printf.c 15KB
altera_avalon_jtag_uart_init.c 10KB
alt_gmon.c 9KB
alt_instruction_exception_entry.c 9KB
altera_avalon_jtag_uart_write.c 8KB
altera_avalon_jtag_uart_read.c 7KB
alt_irq_handler.c 6KB
alt_main.c 6KB
alt_ioctl.c 6KB
alt_open.c 6KB
alt_dev.c 6KB
alt_tick.c 5KB
alt_sbrk.c 5KB
alt_printf.c 5KB
alt_write.c 5KB
alt_iic.c 5KB
alt_gettod.c 5KB
alt_fstat.c 5KB
hello_world_small.c 5KB
alt_isatty.c 5KB
alt_alarm_start.c 5KB
alt_iic_isr_register.c 5KB
alt_read.c 5KB
alt_load.c 5KB
alt_irq_register.c 4KB
alt_fcntl.c 4KB
alt_io_redirect.c 4KB
alt_lseek.c 4KB
alt_instruction_exception_register.c 4KB
alt_settod.c 4KB
alt_kill.c 4KB
alt_get_fd.c 4KB
alt_dcache_flush_no_writeback.c 4KB
alt_busy_sleep.c 4KB
alt_close.c 4KB
alt_dcache_flush.c 4KB
altera_avalon_jtag_uart_fd.c 4KB
alt_find_file.c 4KB
alt_ecc_fatal_exception.c 4KB
alt_exit.c 4KB
alt_do_ctors.c 4KB
alt_do_dtors.c 4KB
alt_fs_reg.c 4KB
alt_find_dev.c 4KB
alt_flash_dev.c 4KB
altera_avalon_jtag_uart_ioctl.c 4KB
alt_putcharbuf.c 4KB
alt_times.c 3KB
alt_fd_lock.c 3KB
alt_icache_flush.c 3KB
alt_getchar.c 3KB
alt_putchar.c 3KB
alt_putstr.c 3KB
alt_dma_rxchan_open.c 3KB
alt_dma_txchan_open.c 3KB
alt_stat.c 3KB
alt_fork.c 3KB
alt_link.c 3KB
alt_execve.c 3KB
alt_rename.c 3KB
alt_fd_unlock.c 3KB
alt_unlink.c 3KB
alt_release_fd.c 3KB
alt_env_lock.c 3KB
alt_malloc_lock.c 3KB
alt_wait.c 3KB
alt_dev_llist_insert.c 3KB
alt_uncached_malloc.c 3KB
alt_remap_uncached.c 3KB
alt_getpid.c 3KB
alt_remap_cached.c 3KB
alt_environ.c 3KB
alt_uncached_free.c 3KB
alt_dcache_flush_all.c 3KB
共 988 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
我虽横行却不霸道
- 粉丝: 77
- 资源: 1万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1