Quartz.NET  是一套很好的任务调度框架。

下面介绍如何使用:

在项目Nuget包管理器中搜索:quartz

安装后会添加如下dll:

<packages><package id="Common.Logging" version="3.0.0" targetFramework="net452" /><package id="Common.Logging.Core" version="3.0.0" targetFramework="net452" /><package id="Quartz" version="2.3.3" targetFramework="net452" />
</packages>

简单场景

先定义一个Job,需要实现IJob接口:

public class HelloJob : IJob{public void Execute(IJobExecutionContext context){Console.WriteLine("Hello " + DateTime.Now.ToString());}}

启动Job:

static void Main(string[] args){ISchedulerFactory schedFact = new StdSchedulerFactory();IScheduler sched = schedFact.GetScheduler();sched.Start();IJobDetail job = JobBuilder.Create<HelloJob>().WithIdentity("myJob", "group1").Build();ITrigger trigger = TriggerBuilder.Create().WithIdentity("myTrigger", "group1").StartNow().WithSimpleSchedule(x => x.WithIntervalInSeconds(3).RepeatForever()).Build();sched.ScheduleJob(job, trigger);}

这里有几个概念:

  • IScheduler - the main API for interacting with the scheduler.
  • IJob - an interface to be implemented by components that you wish to have executed by the scheduler.
  • IJobDetail - used to define instances of Jobs.
  • ITrigger - a component that defines the schedule upon which a given Job will be executed.
  • JobBuilder - used to define/build JobDetail instances, which define instances of Jobs.
  • TriggerBuilder - used to define/build Trigger instances.

TriggerBuilder的触发类型有以下四种:

  • WithCalendarIntervalSchedule
  • WithCronSchedule
  • WithDailyTimeIntervalSchedule
  • WithSimpleSchedule

每个Job和Trigger都有自己的身份标识Identity。

使用JobDataMap

static void Main(string[] args){ISchedulerFactory schedFact = new StdSchedulerFactory();IScheduler sched = schedFact.GetScheduler();sched.Start();IJobDetail job = JobBuilder.Create<DumbJob>().WithIdentity("myJob", "group1") .UsingJobData("jobSays", "Hello World!").UsingJobData("myFloatValue", 3.141f).Build();ITrigger trigger = TriggerBuilder.Create().WithIdentity("myTrigger", "group1").StartNow().WithSimpleSchedule(x => x.WithIntervalInSeconds(3).RepeatForever()).Build();sched.ScheduleJob(job, trigger);}

public class DumbJob : IJob{public void Execute(IJobExecutionContext context){JobKey key = context.JobDetail.Key;JobDataMap dataMap = context.JobDetail.JobDataMap;string jobSays = dataMap.GetString("jobSays");float myFloatValue = dataMap.GetFloat("myFloatValue");Console.Error.WriteLine("Instance " + key + " of DumbJob says: " + jobSays + ", and val is: " + myFloatValue);}}

可以看到,通过JobDataMap可以给Job传递参数。

JobDataMap也可以从上下文获取:

JobKey key = context.JobDetail.Key;//JobDataMap dataMap = context.JobDetail.JobDataMap;JobDataMap dataMap = context.MergedJobDataMap; 

还可以设置为属性注入:

public class DumbJob : IJob{public string JobSays { private get; set; }public float MyFloatValue { private get; set; }public void Execute(IJobExecutionContext context){JobKey key = context.JobDetail.Key;JobDataMap dataMap = context.MergedJobDataMap;Console.Error.WriteLine("Instance " + key + " of DumbJob says: " + JobSays + ", and val is: " + MyFloatValue);}}

并发限制

修改HelloJob如下:

public class HelloJob : IJob{public void Execute(IJobExecutionContext context){Console.WriteLine("Hello " + DateTime.Now.ToString());Thread.Sleep(5 * 1000);}}

可以看到仍然是每3秒跑一次,说明有多个实例在运行。

加上并发限制:

[DisallowConcurrentExecution]public class HelloJob : IJob{public void Execute(IJobExecutionContext context){Console.WriteLine("Hello " + DateTime.Now.ToString());Thread.Sleep(5 * 1000);}}

可以看到是每隔5秒才运行。

关于Job还有几个概念:

  • Durability - if a job is non-durable, it is automatically deleted from the scheduler once there are no longer any active triggers associated with it. In other words, non-durable jobs have a life span bounded by the existence of its triggers.
  • RequestsRecovery - if a job "requests recovery", and it is executing during the time of a 'hard shutdown' of the scheduler (i.e. the process it is running within crashes, or the machine is shut off), then it is re-executed when the scheduler is started again. In this case, the JobExecutionContext.Recovering property will return true.
  • PersistJobDataAfterExecution is an attribute that can be added to the Job class that tells Quartz to update the stored copy of the JobDetail's JobDataMap after the Execute() method completes successfully (without throwing an exception), such that the next execution of the same job (JobDetail) receives the updated values rather than the originally stored values.

Trigger 相关:

  • Priority

  • Misfire

  • Calendars

SimpleTrigger:

Build a trigger for a specific moment in time, with no repeats:

// trigger builder creates simple trigger by default, actually an ITrigger is returned
ISimpleTrigger trigger = (ISimpleTrigger) TriggerBuilder.Create() .WithIdentity("trigger1", "group1") .StartAt(myStartTime) // some Date .ForJob("job1", "group1") // identify job with name, group strings .Build(); 

Build a trigger for a specific moment in time, then repeating every ten seconds ten times:

trigger = TriggerBuilder.Create() .WithIdentity("trigger3", "group1") .StartAt(myTimeToStartFiring) // if a start time is not given (if this line were omitted), "now" is implied .WithSimpleSchedule(x => x .WithIntervalInSeconds(10) .WithRepeatCount(10)) // note that 10 repeats will give a total of 11 firings .ForJob(myJob) // identify job with handle to its JobDetail itself .Build(); 

Build a trigger that will fire once, five minutes in the future:

trigger = (ISimpleTrigger) TriggerBuilder.Create() .WithIdentity("trigger5", "group1") .StartAt(DateBuilder.FutureDate(5, IntervalUnit.Minute)) // use DateBuilder to create a date in the future .ForJob(myJobKey) // identify job with its JobKey .Build(); 

Build a trigger that will fire now, then repeat every five minutes, until the hour 22:00:

trigger = TriggerBuilder.Create() .WithIdentity("trigger7", "group1") .WithSimpleSchedule(x => x .WithIntervalInMinutes(5) .RepeatForever()) .EndAt(DateBuilder.DateOf(22, 0, 0)) .Build(); 

Build a trigger that will fire at the top of the next hour, then repeat every 2 hours, forever:

trigger = TriggerBuilder.Create() .WithIdentity("trigger8") // because group is not specified, "trigger8" will be in the default group .StartAt(DateBuilder.EvenHourDate(null)) // get the next even-hour (minutes and seconds zero ("00:00")) .WithSimpleSchedule(x => x .WithIntervalInHours(2) .RepeatForever()) // note that in this example, 'forJob(..)' is not called // - which is valid if the trigger is passed to the scheduler along with the job .Build(); scheduler.scheduleJob(trigger, job);

CronTrigger

http://www.quartz-scheduler.net/documentation/quartz-2.x/tutorial/crontrigger.html

Expressions:

  • 1. Seconds
  • 2. Minutes
  • 3. Hours
  • 4. Day-of-Month
  • 5. Month
  • 6. Day-of-Week
  • 7. Year (optional field)

"0 0 12 ? * WED" - which means "every Wednesday at 12:00 pm".

可以把上面的“WED"替换成: "MON-FRI", "MON, WED, FRI", or even "MON-WED,SAT".

上面表达式的“*”表示“每月”

如果Minutes的数值是 '0/15' ,表示从0开始每15分钟执行

如果Minutes的数值是 '3/20' ,表示从3开始每20分钟执行,也就是‘3/23/43’

‘?’只能用在day-of-month 和 day-of-week,表示没有特定的值

'L' 只能用在 day-of-month 和 day-of-week fields. 如 "L" 在 day-of-month 表示 "当月最后一天" . 单独用在 day-of-week 表示 "7" or "SAT". "6L" or "FRIL" 表示"当月最后一个星期五".

'W' :"15W" 在 day-of-month 表示: "离15号最近的周一到周五".

'#' :"6#3" 或 "FRI#3" 在 day-of-week 表示 "当月第三个星期五".

Seconds范围:0-59

Minutes范围:0-59

Hours范围:0-23

Day-of-Month范围:0-31(需要注意月份没有31天的)

Month范围:0-11 或者使用JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV and DEC.

Day-of-Week范围:1-7 (1 = Sunday) 或SUN, MON, TUE, WED, THU, FRI and SAT.

CronTrigger Example 1 - 每5分钟执行

"0 0/5 * * * ?"

CronTrigger Example 2 -每5分钟的第10秒执行

"10 0/5 * * * ?"

CronTrigger Example 3 - 每个星期三和星期五的10:30, 11:30, 12:30, 13:30执行

"0 30 10-13 ? * WED,FRI"

CronTrigger Example 4 - 每月第5天和第20天从8点到9点每30分钟执行. 注意 10:00 不会执行, 只有 8:00, 8:30, 9:00 ,9:30

"0 0/30 8-9 5,20 * ?"

Build a trigger that will fire every other minute, between 8am and 5pm, every day:

trigger = TriggerBuilder.Create() .WithIdentity("trigger3", "group1") .WithCronSchedule("0 0/2 8-17 * * ?") .ForJob("myJob", "group1") .Build(); 

Build a trigger that will fire daily at 10:42 am:

// we use CronScheduleBuilder's static helper methods here
trigger = TriggerBuilder.Create() .WithIdentity("trigger3", "group1") .WithSchedule(CronScheduleBuilder.DailyAtHourAndMinute(10, 42)) .ForJob(myJobKey) .Build(); 

or -

trigger = TriggerBuilder.Create() .WithIdentity("trigger3", "group1") .WithCronSchedule("0 42 10 * * ?") .ForJob("myJob", "group1") .Build(); 

Build a trigger that will fire on Wednesdays at 10:42 am, in a TimeZone other than the system's default:

trigger = TriggerBuilder.Create() .WithIdentity("trigger3", "group1") .WithSchedule(CronScheduleBuilder .WeeklyOnDayAndHourAndMinute(DayOfWeek.Wednesday, 10, 42) .InTimeZone(TimeZoneInfo.FindSystemTimeZoneById("Central America Standard Time"))) .ForJob(myJobKey) .Build(); 

or -

trigger = TriggerBuilder.Create() .WithIdentity("trigger3", "group1") .WithCronSchedule("0 42 10 ? * WED", x => x .InTimeZone(TimeZoneInfo.FindSystemTimeZoneById("Central America Standard Time"))) .ForJob(myJobKey) .Build();

TriggerListeners and JobListeners

Adding a JobListener that is interested in a particular job:

scheduler.ListenerManager.AddJobListener(myJobListener, KeyMatcher<JobKey>.KeyEquals(new JobKey("myJobName", "myJobGroup"))); 

Adding a JobListener that is interested in all jobs of a particular group:

scheduler.ListenerManager.AddJobListener(myJobListener, GroupMatcher<JobKey>.GroupEquals("myJobGroup")); 

Adding a JobListener that is interested in all jobs of two particular groups:

scheduler.ListenerManager.AddJobListener(myJobListener, OrMatcher<JobKey>.Or(GroupMatcher<JobKey>.GroupEquals("myJobGroup"), GroupMatcher<JobKey>.GroupEquals("yourGroup"))); 

Adding a JobListener that is interested in all jobs:

scheduler.ListenerManager.AddJobListener(myJobListener, GroupMatcher<JobKey>.AnyGroup());

SchedulerListeners

Adding a SchedulerListener:

scheduler.ListenerManager.AddSchedulerListener(mySchedListener); 

Removing a SchedulerListener:

scheduler.ListenerManager.RemoveSchedulerListener(mySchedListener);

JobStores

Quartz 默认是存在内存的,也就是如下配置:

quartz.jobStore.type = Quartz.Simpl.RAMJobStore, Quartz

还可以存在数据库中,可以从https://github.com/quartznet/quartznet database目录中找到建库脚本

可以看到创建了11张表,都是以qrtz_ 开头的,这个可以在配置里更改

quartz.jobStore.tablePrefix = QRTZ_

配置使用数据库:

quartz.jobStore.type = Quartz.Impl.AdoJobStore.JobStoreTX, Quartz

配置数据库代理:

quartz.jobStore.driverDelegateType = Quartz.Impl.AdoJobStore.StdAdoDelegate, Quartz

这里类型有:

MySQLDelegate 
SqlServerDelegate 
OracleDelegate 
SQLiteDelegate

配置使用哪个数据库:

quartz.jobStore.dataSource = myDS

配置连接属性:

 quartz.dataSource.myDS.connectionString = Server=localhost;Database=quartz;Uid=quartznet;Pwd=quartznetquartz.dataSource.myDS.provider = MySql-695

配置所有的JobDataMap 都是string类型:

quartz.jobStore.useProperties = true

配置集群:

quartz.jobStore.clustered=true

配置线程池:

quartz.threadPool.type = Quartz.Simpl.SimpleThreadPool, Quartz
quartz.threadPool.threadCount = 10
quartz.threadPool.threadPriority = Normal

配置读取配置:

quartz.plugin.jobInitializer.type=Quartz.Plugin.Xml.XMLSchedulingDataProcessorPlugin
quartz.plugin.jobInitializer.fileNames=~/quartz_jobs.xml
quartz.plugin.jobInitializer.failOnFileNotFound=true

配置实例名:

quartz.scheduler.instanceName = QuartzTest

如果不配置的话默认是QuartzScheduler,如下图所示:

只保留简单的HelloJob,运行,查看数据库,可以看到这几张表里有数据:


更改重复次数为10次,先运行3次:

可以看到最后字段是3次,重新运行程序:

ISchedulerFactory schedFact = new StdSchedulerFactory();IScheduler sched = schedFact.GetScheduler();sched.Start();

注意这里不要再加任务了。

可以看到剩余次数Repeat_Count是7次了,当这7次运行完后这几个表就清空了。

使用配置文件配置任务

在项目根目录下创建quartz_jobs.xml并设置始终复制

 View Code

运行程序,发现数据库里有了记录,可是却没有运行任务。关了再次运行才开始跑任务,而如果这里的配置是true的话,再次运行也只是写库,不运行任务:

<processing-directives><overwrite-existing-data>true</overwrite-existing-data></processing-directives>

这里关键就在<start-time>节点,把两个时间节点注释后可以正常运行:

 View Code

下面是其他园友总结的:

Quartz.NET 入门

Quartz.NET 2.0 学习笔记(3) :通过配置文件实现任务调度

job 任务,这个节点是用来定义每个具体的任务的,多个任务请创建多个job节点即可

  • name(必填) 任务名称,同一个group中多个job的name不能相同,若未设置group则所有未设置group的job为同一个分组,如:<name>sampleJob</name>
  • group(选填) 任务所属分组,用于标识任务所属分组,如:<group>sampleGroup</group>
  • description(选填) 任务描述,用于描述任务具体内容,如:<description>Sample job for Quartz Server</description>
  • job-type(必填) 任务类型,任务的具体类型及所属程序集,格式:实现了IJob接口的包含完整命名空间的类名,程序集名称,如:<job-type>Quartz.Server.SampleJob, Quartz.Server</job-type>
  • durable(选填) 具体作用不知,官方示例中默认为true,如:<durable>true</durable>
  • recover(选填) 具体作用不知,官方示例中默认为false,如:<recover>false</recover>

trigger 任务触发器,用于定义使用何种方式出发任务(job),同一个job可以定义多个trigger ,多个trigger 各自独立的执行调度,每个trigger 中必须且只能定义一种触发器类型(calendar-interval、simple、cron)

calendar-interval 一种触发器类型,使用较少,此处略过

simple 简单任务的触发器,可以调度用于重复执行的任务

  • name(必填) 触发器名称,同一个分组中的名称必须不同
  • group(选填) 触发器组
  • description(选填) 触发器描述
  • job-name(必填) 要调度的任务名称,该job-name必须和对应job节点中的name完全相同
  • job-group(选填) 调度任务(job)所属分组,该值必须和job中的group完全相同
  • start-time(选填) 任务开始执行时间utc时间,北京时间需要+08:00,如:<start-time>2012-04-01T08:00:00+08:00</start-time>表示北京时间2012年4月1日上午8:00开始执行,注意服务启动或重启时都会检测此属性,若没有设置此属性或者start-time设置的时间比当前时间较早,则服务启动后会立即执行一次调度,若设置的时间比当前时间晚,服务会等到设置时间相同后才会第一次执行任务,一般若无特殊需要请不要设置此属性
  • repeat-count(必填)  任务执行次数,如:<repeat-count>-1</repeat-count>表示无限次执行,<repeat-count>10</repeat-count>表示执行10次
  • repeat-interval(必填) 任务触发间隔(毫秒),如:<repeat-interval>10000</repeat-interval> 每10秒执行一次

cron复杂任务触发器--使用cron表达式定制任务调度(强烈推荐)

  • name(必填) 触发器名称,同一个分组中的名称必须不同
  • group(选填) 触发器组
  • description(选填) 触发器描述
  • job-name(必填) 要调度的任务名称,该job-name必须和对应job节点中的name完全相同
  • job-group(选填) 调度任务(job)所属分组,该值必须和job中的group完全相同
  • start-time(选填) 任务开始执行时间utc时间,北京时间需要+08:00,如:<start-time>2012-04-01T08:00:00+08:00</start-time>表示北京时间2012年4月1日上午8:00开始执行,注意服务启动或重启时都会检测此属性,若没有设置此属性,服务会根据cron-expression的设置执行任务调度;若start-time设置的时间比当前时间较早,则服务启动后会忽略掉cron-expression设置,立即执行一次调度,之后再根据cron-expression执行任务调度;若设置的时间比当前时间晚,则服务会在到达设置时间相同后才会应用cron-expression,根据规则执行任务调度,一般若无特殊需要请不要设置此属性
  • cron-expression(必填) cron表达式,如:<cron-expression>0/10 * * * * ?</cron-expression>每10秒执行一次

TriggerListeners and JobListeners

可以使用监听器来监视任务和触发器的执行状态:

public class MyJobListener : IJobListener{public string Name{get{return "myJobListener";}}public void JobExecutionVetoed(IJobExecutionContext context){}public void JobToBeExecuted(IJobExecutionContext context){Console.WriteLine("Job{0}开始执行。", context.JobDetail.Key);}public void JobWasExecuted(IJobExecutionContext context, JobExecutionException jobException){if(jobException==null){Console.WriteLine("Job{0}执行完成。", context.JobDetail.Key);}else{Console.WriteLine("Job{0}执行失败:{1}", context.JobDetail.Key, jobException.Message);}}}

IScheduler sched = StdSchedulerFactory.GetDefaultScheduler();MyJobListener myJobListener = new MyJobListener();sched.ListenerManager.AddJobListener(myJobListener, GroupMatcher<JobKey>.GroupEquals("Test"));sched.Start();

The ITriggerListener Interface

public interface ITriggerListener
{string Name { get; } void TriggerFired(ITrigger trigger, IJobExecutionContext context); bool VetoJobExecution(ITrigger trigger, IJobExecutionContext context); void TriggerMisfired(ITrigger trigger); void TriggerComplete(ITrigger trigger, IJobExecutionContext context, int triggerInstructionCode); } 

Job-related events include: a notification that the job is about to be executed, and a notification when the job has completed execution.

The IJobListener Interface

public interface IJobListener
{string Name { get; } void JobToBeExecuted(IJobExecutionContext context); void JobExecutionVetoed(IJobExecutionContext context); void JobWasExecuted(IJobExecutionContext context, JobExecutionException jobException); } 

Adding a JobListener that is interested in a particular job:

scheduler.ListenerManager.AddJobListener(myJobListener, KeyMatcher<JobKey>.KeyEquals(new JobKey("myJobName", "myJobGroup"))); 

Adding a JobListener that is interested in all jobs of a particular group:

scheduler.ListenerManager.AddJobListener(myJobListener, GroupMatcher<JobKey>.GroupEquals("myJobGroup")); 

Adding a JobListener that is interested in all jobs of two particular groups:

scheduler.ListenerManager.AddJobListener(myJobListener, OrMatcher<JobKey>.Or(GroupMatcher<JobKey>.GroupEquals("myJobGroup"), GroupMatcher<JobKey>.GroupEquals("yourGroup"))); 

Adding a JobListener that is interested in all jobs:

scheduler.ListenerManager.AddJobListener(myJobListener, GroupMatcher<JobKey>.AnyGroup());

转载于:https://www.cnblogs.com/zxtceq/p/7305546.html

Quartz.Net 使用相关推荐

  1. SpringBoot中实现quartz定时任务

    Quartz整合到SpringBoot(持久化到数据库) 背景 最近完成了一个小的后台管理系统的权限部分,想着要扩充点东西,并且刚好就完成了一个自动疫情填报系统,但是使用的定时任务是静态的,非常不利于 ...

  2. Java基于Quartz的定时任务调度服务(一)

    Quartz的基本用法 一 Quartz的简单介绍 Quartz 是 OpenSymphony 开源组织在任务调度领域的一个开源项目,完全基于 Java 实现,一个优秀的开源调度框架,其特点是:强大的 ...

  3. springboot整合Quartz实现动态配置定时任务

    版权声明:本文为博主原创文章,转载请注明出处. https://blog.csdn.net/liuchuanhong1/article/details/60873295 前言 在我们日常的开发中,很多 ...

  4. Quartz 2D Programming Guide笔记

    ###Graphics Contexts图形上下文### 图形上下文(graphics context)是绘制目标,可以理解为画布,包含着绘图时的参数和设备信息.类型为CGContextRef.获取g ...

  5. 【Quartz】实现接口封装化(二)

    原文:[Quartz]实现接口封装化(二)   前言   通过昨天的努力终于算是了解Quartz这个定时器的简单使用,为了更深一步的了解和基于以后希望在项目中能使用他.所有我对他做了一下简单的封装操作 ...

  6. quartz在集群环境下的最终解决方案

    在集群环境下,大家会碰到一直困扰的问题,即多个 APP 下如何用 quartz 协调处理自动化 JOB . 大家想象一下,现在有 A , B , C3 台机器同时作为集群服务器对外统一提供 SERVI ...

  7. 将Quartz.NET集成到 Castle中

    Castle是针对.NET平台的一个开源项目,从数据访问框架ORM到IOC容器,再到WEB层的MVC框架.AOP,基本包括了整个开发过程中的所有东西,为我们快速的构建企业级的应用程序提供了很好的服务. ...

  8. 初识Quartz(三)

    为什么80%的码农都做不了架构师?>>>    简单作业: package quartz_project.example3;import java.util.Date;import ...

  9. java timer cron_Java之旅--定时任务(Timer、Quartz、Spring、LinuxCron)

    在Java中,实现定时任务有多种方式.本文介绍4种.Timer和TimerTask.Spring.QuartZ.Linux Cron. 以上4种实现定时任务的方式.Timer是最简单的.不须要不论什么 ...

  10. Quartz动态添加、修改和删除定时任务

    2019独角兽企业重金招聘Python工程师标准>>> Quartz动态添加.修改和删除定时任务 转载于:https://my.oschina.net/haokevin/blog/1 ...

最新文章

  1. Cent6.5 64位yum安装mysql5.5
  2. Ubuntu16.04能识别U盘,但无法识别光盘
  3. linux多进程知识汇总
  4. 编程式事务和声明式事物
  5. uni-app集成uview
  6. 利用LDA主题模型的生成过程仿真数据
  7. Windows Networking 4: CloudMonitor 引发的网络问题排查一则
  8. TCP/IP 和 TCP/IP的 三/四次握手
  9. 思科VPP 20.05 dpdk node源码分析
  10. Linux 后台开发常用命令目录(更新 ing)
  11. myeclipse 8.5安装freemarker插件方法
  12. 快手内容运营-数据分析面试
  13. python计算sinx在0-2π_定积分[0,2π]|sinx|
  14. 前端学习-----HTML
  15. 接口文档与接口文档管理工具
  16. c语言学籍信息系统,c语言学籍信息管理系统设计
  17. Help Bubu UVALive - 4490
  18. db2 删除索引_[收录量]史上最全的百度索引量下降原因分析及解
  19. 分散染料对涤纶织物染色步骤
  20. 群晖设置腾讯云ddns显示认证失败的两种解决办法【实测第二种成功了】

热门文章

  1. 微信小程序模板消息群发解决思路
  2. java常量池方法区_Java方法区和运行时常量池溢出问题分析
  3. 初识Web Component
  4. spark基础之shuffle机制和原理分析
  5. Hadoop系列-YARN RM HA 高可用集群
  6. 联想如何安装linux系统安装步骤,加速本本的启动 - 在ThinkPad上安装Ubuntu的全过程详解_Linux教程_Linux公社-Linux系统门户网站...
  7. (25)FPGA工程师与其他工程师交集(FPGA不积跬步101)
  8. (90)FPGA比较器设计
  9. (37)System Verilog线程并行执行(fork-join_any)
  10. (19)Verilog HDL顺序块:begin-end